joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411794
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x411
lea ecx, [ebp - 4]
mov byte [0x4c0fc3], 1
call fcn.0043dd9c
push 0x822
push 0
push dword [ebp - 4]
call fcn.00492e00
mov edi, dword [ebp - 4]
add esp, 0xc
push 0x104
add edi, 0x410
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.PE_IDBASE
push 0x1000
mov esi, 0x4c0fb8
push esi
call fcn.00440266
push str.WM_PE_BASE
push 0x5000
push esi
call fcn.00440266
push str.PE_MENU_IDBASE
push 0x100
push esi
call fcn.00440266
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add esp, 0x24
push edi
push 0x4a911a
call esi
push edi
mov ebx, 0x4c0fb8
push str.MyName
mov ecx, ebx
call fcn.0043d658
push 0x5c
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor edi, edi
cmp eax, edi
je 0x41185b
lea edi, [eax + 2]
push edi
push 0x4a9106
call esi
push edi
push str.MyName0
mov ecx, ebx
call fcn.0043d658
xor edi, edi
push edi
push edi
push str.Desktop
call fcn.004116e1
push edi
push edi
push str.Favorites
call fcn.004116e1
push edi
push edi
push str.Programs
call fcn.004116e1
push edi
push edi
push str.SendTo
call fcn.004116e1
push edi
push edi
push str.Personal
call fcn.004116e1
push edi
push str.Start_Menu
push 0x4a86d0
call fcn.004116e1
add esp, 0x48
push edi
push str.Cache
push str.IECache
call fcn.004116e1
push edi
push edi
push str.Startup
call fcn.004116e1
push str.MicrosoftInternet_ExplorerQuick_Launch
push str.AppData
push str.QuickLaunch
call fcn.004116e1
add esp, 0x24
lea ecx, [ebp - 4]
call fcn.00437e1a
pop edi
pop esi
pop ebx
leave
ret

Function at 0x411946
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14b8
call fcn.004931e0
push esi
mov esi, 0x4bf2c4
and word [ebp - 0x14b8], 0
mov edx, dword [esi]
mov word [ebp - 0x64], 0x26
lea ecx, [ebp - 0x62]
movsx ax, byte [edx]
mov word [ecx], ax
inc ecx
inc ecx
inc edx
test ax, ax
jne 0x41196c
push 0xa28
lea eax, [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x62]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x4c0fb8
call fcn.0043d658
add esi, 4
cmp esi, 0x4bf2d8
jl 0x411959
pop esi
leave
ret
Function at 0x412427
Capabilities:
Check if file exists
Unmount volume via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp ebx, edi
jne 0x412481
push 0xc0000000
push dword [ebp + 8]
call dword [0x4c0f6c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412564
push 0x80000000
push dword [ebp + 8]
call dword [0x4c0f6c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412564
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
inc ecx
mov eax, ecx
jmp 0x4125f2
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call esi
cmp eax, 2
jne 0x41249b
xor eax, eax
cmp word [ebx + 2], 0x3a
sete al
jmp 0x4124bc
push ebx
call esi
cmp eax, 3
jne 0x4124ba
lea eax, [ebx + 2]
push 0x4a96a4
push eax
call fcn.0049321d
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x4124bc
xor eax, eax
cmp eax, edi
je 0x412517
mov ax, word [ebx]
mov esi, str.._:
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
mov ebx, 0x20000000
push ebx
push 3
push 0
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 3
mov word [ebp - 0x10], ax
push 0xc0000000
lea eax, [ebp - 0x18]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x412562
push 0
push ebx
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x18]
push eax
call edi
mov esi, eax
xor edi, edi
jmp 0x412462
push 0xc0000000
push ebx
call dword [0x4c0f70]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412564
push 0x80000000
push ebx
call dword [0x4c0f70]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412564
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
je 0x41255a
sub eax, 0x56
je 0x41255a
sub eax, 0x3a
je 0x41255a
sub eax, 0x7a
je 0x41255a
sub eax, 0x101b
push 9
pop eax
jmp 0x4125f2
xor edi, edi
push esi
call fcn.00411e86
test eax, eax
pop ecx
jne 0x41257d
push 5
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x4125f2
test byte [ebp + 0x10], 3
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
je 0x4125be
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push edi
push edi
push 0x90018
push esi
call ebx
test eax, eax
jne 0x4125a9
push 2
jmp 0x412571
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push edi
push edi
push 0x90020
push esi
call ebx
test eax, eax
je 0x4125a5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 8
lea eax, [ebp - 8]
push eax
push 8
push eax
push 0x83722014
push esi
call ebx
cmp dword [ebp - 8], edi
je 0x4125e9
push 3
jmp 0x412571
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4125f7
Capabilities:
Check if file exists
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
xor eax, eax
cmp esi, ebx
mov dword [ebp - 0x34], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jne 0x41265b
push 0xc0000000
push dword [ebp + 8]
call dword [0x4c0f6c]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41273a
push 0x80000000
push dword [ebp + 8]
call dword [0x4c0f6c]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41273a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
inc ecx
mov eax, ecx
jmp 0x4127da
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 2
jne 0x412675
xor eax, eax
cmp word [esi + 2], 0x3a
sete al
jmp 0x412696
push esi
call edi
cmp eax, 3
jne 0x412694
lea eax, [esi + 2]
push 0x4a96a4
push eax
call fcn.0049321d
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x412696
xor eax, eax
cmp eax, ebx
je 0x4126ef
mov eax, dword [ebp + 0xc]
mov ax, word [eax]
mov esi, str.._:
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
push 0x20000000
movsd dword es:[edi], dword [esi]
push 3
push ebx
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 3
mov word [ebp - 0x1c], ax
push 0xc0000000
lea eax, [ebp - 0x24]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x41273a
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80000000
lea eax, [ebp - 0x24]
push eax
call esi
jmp 0x41263a
push 0xc0000000
push esi
call dword [0x4c0f70]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41273a
push 0x80000000
push esi
call dword [0x4c0f70]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41273a
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
je 0x412732
sub eax, 0x56
je 0x412732
sub eax, 0x3a
je 0x412732
sub eax, 0x7a
je 0x412732
sub eax, 0x101b
push 9
pop eax
jmp 0x4127da
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x10
lea eax, [ebp - 0x34]
push eax
push 0x7c0d0
push edi
mov dword [ebp - 0x34], 1
call esi
test eax, eax
jne 0x412771
push 3
pop ebx
jmp 0x4127d1
push ebx
lea eax, [ebp - 4]
push eax
push 8
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x7405c
push edi
call esi
test eax, eax
je 0x4127a3
push ebx
lea eax, [ebp - 4]
push eax
push 0x18
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
push 0x70000
push edi
call esi
test eax, eax
jne 0x4127a7
push 2
jmp 0x41276e
push ebx
push dword [ebp - 0x38]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00492e60
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 8
lea eax, [ebp - 0x14]
push eax
push 0x900f0
push edi
mov dword [ebp - 0x10], edx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412b79
Capabilities:
Acquire debug privileges

Disassembly:
cmp byte [ecx], 0
je 0x412b96
and byte [0x4c1bf0], 0xfb
push 0
push 4
push str.SeDebugPrivilege
call fcn.004119f4
add esp, 0xc
ret

Function at 0x412d86
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, 0x4c1b94
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.00403cdd
mov edi, dword [sym.imp.SHLWAPI.dll_StrChrW]
pop ecx
push 0x5c
push dword [ebp + 8]
mov byte [ebp - 4], al
jmp 0x412dde
push dword [ebp + 8]
and word [esi], 0
call fcn.004925aa
test eax, eax
pop ecx
jne 0x412dd3
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [esi], 0x5c
push 0x5c
add esi, 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x412db8
cmp byte [ebp - 4], al
je 0x412df4
push dword [ebp - 8]
call fcn.00403cee
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x412f3b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
movzx ecx, word [eax + 6]
mov eax, dword [eax + 0x54]
push edi
mov edi, dword [ebp + 8]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
push eax
push dword [ebp + 0xc]
push edi
call fcn.0041286c
mov eax, dword [esi + 0x14]
xor ebx, ebx
add esp, 0xc
cmp word [eax + 6], bx
mov dword [ebp - 4], ebx
jbe 0x412fde
mov eax, dword [esi + 0x18]
add eax, ebx
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x412fcc
mov edx, dword [eax + 0x10]
test edx, edx
je 0x412fcc
mov eax, dword [eax + 0x14]
add eax, dword [ebp + 0xc]
push edx
add edi, ecx
push eax
push edi
call fcn.0041286c
mov eax, dword [esi + 0x18]
add esp, 0xc
add eax, ebx
push str..rsrc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x412fc9
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x18]
sub edi, eax
lea ecx, [ecx + ebx + 0xc]
lea edx, [edi + eax]
add dword [ecx], edx
mov ecx, dword [esi + 0x18]
lea ecx, [ecx + ebx + 0x14]
add edi, eax
add dword [ecx], edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
movzx eax, word [eax + 6]
inc dword [ebp - 4]
add ebx, 0x28
cmp dword [ebp - 4], eax
jl 0x412f72
mov dword [esi + 0x10], edi
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [esi + 0x14], eax
add eax, 0xf8
pop edi
mov dword [esi + 0x18], eax
pop esi
pop ebx
leave
ret 8

Function at 0x41329d
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00492e00
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [ebp + 8], 0
je 0x4132d2
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
leave
ret
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
leave
ret
Function at 0x413369
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x18]
test esi, esi
push edi
mov dword [ebp - 0xc], 0x20
je 0x413385
mov dword [ebp - 8], esi
jmp 0x41338d
lea eax, [ebp - 0xc]
mov dword [ebp - 8], eax
mov esi, eax
push dword [ebp + 0x10]
mov ax, word [esi + 2]
push dword [ebp + 0xc]
mov word [ebp - 4], ax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4133b8
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
jmp 0x4133ba
xor edi, edi
test ebx, ebx
je 0x4133ca
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x4133cc
xor eax, eax
xor cl, cl
test byte [esi], 1
mov byte [ebp + 0x1b], cl
je 0x4133e8
test eax, eax
je 0x4134c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov cl, byte [ebp + 0x1b]
mov ebx, eax
test ebx, ebx
je 0x4134c9
test edi, edi
jle 0x4134c9
test byte [esi], 0x40
jne 0x413458
push 0
push edi
push ebx
call fcn.0043afdf
add esp, 0xc
test al, al
mov byte [ebp + 0x1b], al
je 0x413458
test byte [esi], 0x20
je 0x413422
test al, 2
je 0x413422
xor eax, eax
jmp 0x4134d2
push 0
lea ecx, [ebp - 0x18]
call fcn.00446478
movzx eax, word [ebp - 4]
mov esi, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.00441a93
and dword [ebp - 0x18], 0
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00437e1a
jmp 0x413495
mov esi, dword [ebp + 0x14]
lea eax, [edi + 0x410]
push eax
mov ecx, esi
call fcn.0040e21a
push edi
push ebx
push dword [esi]
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call fcn.004128b6
add esp, 0xc
cmp word [ebp - 4], 0
je 0x413495
movzx eax, word [ebp - 4]
inc edi
shr edi, 1
push edi
push eax
push dword [esi]
call fcn.00411027
add esp, 0xc
mov eax, dword [esi + 4]
mov edi, dword [esi]
lea ecx, [eax + 0x10]
push 0x10
add eax, edi
push 0
push eax
mov dword [esi + 8], ecx
call fcn.00492e00
movzx eax, word [ebp - 4]
push 0xc
push eax
mov eax, dword [esi + 4]
add eax, edi
push eax
call fcn.00492e00
mov esi, dword [ebp - 8]
mov cl, byte [ebp + 0x1b]
add esp, 0x18
jmp 0x4134cb
xor edi, edi
and ecx, 2
or dword [esi], ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4134d7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.004051d2
cmp dword [ebp - 8], ebx
jne 0x413508
push 0xfffffffffffffffe
pop esi
jmp 0x4135cd
push edi
push dword [ebp - 8]
call fcn.004875b9
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0x10], esi
call fcn.0043908b
add esp, 0x14
add esi, 0xc
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0043dc99
mov edi, dword [esi]
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0xc]
push 6
add eax, edi
push ebx
push eax
call fcn.00492e00
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
push eax
push edi
mov dword [esi + 4], eax
call fcn.0043afdf
add esp, 0x18
cmp al, 1
mov byte [ebp - 1], al
pop edi
jne 0x4135b6
push dword [0x4c0f84]
lea ecx, [ebp - 0x1c]
push esi
call fcn.0040e266
mov eax, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00441a93
add esp, 0xc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 6
push eax
mov ecx, esi
call fcn.0043dc99
lea ecx, [ebp - 0x1c]
call fcn.00437e1a
push 1
push esi
call fcn.00489b15
cmp byte [ebp - 1], bl
pop ecx
pop ecx
jge 0x4135ca
or esi, 0xffffffff
jmp 0x4135cd
mov esi, dword [esi + 4]
lea ecx, [ebp - 8]
call fcn.00402b5a
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x414dd0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
and dword [ebp + 0xc], 0xfffffffe
and edi, 1
cmp word [ebx], 0
mov dword [ebp - 0x14], edi
je 0x414fa7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x414e05
mov edi, dword [ebp - 0x14]
push ebx
mov dword [ebp - 0x10], ebx
call esi
add eax, edi
mov edi, dword [ebp - 0x10]
push edi
lea ebx, [ebx + eax*2]
call esi
and dword [ebp - 8], 0
lea eax, [edi + eax*2 - 2]
cmp word [eax], 0x5c
jne 0x414e31
and word [eax], 0
mov dword [ebp - 8], 2
jmp 0x414e43
push edi
call fcn.004925aa
test eax, eax
pop ecx
je 0x414e43
mov dword [ebp - 8], 1
push edi
lea ecx, [ebp + 8]
call fcn.00446497
cmp dword [ebp - 8], 0
je 0x414e5f
push 0x4a9b44
lea ecx, [ebp + 8]
call fcn.0043ddea
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.004926a2
push dword [ebp + 8]
call fcn.0040ea8a
add esp, 0x10
push dword [ebp + 8]
call esi
inc eax
lea edi, [eax + eax]
mov eax, dword [ebp + 8]
mov word [edi + eax - 2], 0x5c
mov eax, dword [ebp + 8]
and word [edi + eax], 0
cmp dword [ebp - 0xc], 0
je 0x414f4a
mov eax, dword [ebp + 8]
and word [edi + eax], 0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp + 8]
call fcn.0043ddea
test byte [ebp - 0x264], 0x10
jne 0x414ef5
cmp dword [ebp + 0xc], 0
push dword [ebp + 8]
je 0x414ee9
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x414f31
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x414ee4
inc eax
mov dword [ebp - 4], eax
jmp 0x414f31
call fcn.004101d8
test eax, eax
pop ecx
je 0x414f31
jmp 0x414ee4
cmp word [ebp - 0x238], 0x2e
jne 0x414f1d
cmp word [ebp - 0x236], 0
je 0x414f31
cmp word [ebp - 0x236], 0x2e
jne 0x414f1d
cmp word [ebp - 0x234], 0
je 0x414f31
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00414dd0
test eax, eax
pop ecx
pop ecx
jne 0x414f31
and dword [ebp - 4], eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0xc]
call fcn.00405248
test eax, eax
jne 0x414ea6
jmp 0x414f58
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x414f55
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
call fcn.00402b8f
xor edi, edi
cmp dword [ebp - 8], edi
je 0x414f95
cmp dword [ebp + 0xc], edi
push dword [ebp - 0x10]
je 0x414f88
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x414f95
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x414f92
xor eax, eax
inc eax
jmp 0x414f92
call fcn.004101d8
cmp eax, edi
pop ecx
je 0x414f95
mov dword [ebp - 4], eax
lea ecx, [ebp + 8]
call fcn.00437e1a
cmp word [ebx], di
jne 0x414e02
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x41765a
Capabilities:
Check mutex on windows

Disassembly:
test byte [0x4c4003], 1
je 0x417672
push str.UCallBackhWnd
call fcn.00410910
test eax, eax
pop ecx
jne 0x417675
xor eax, eax
ret
push edi
push str.GlobalPECMD:main_u
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x4176b0
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub esi, 0xb7
neg esi
sbb esi, esi
push edi
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
jne 0x4176b0
xor eax, eax
inc eax
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x418539
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 0x84
lea eax, [esi + 0x325]
push eax
lea ecx, [ebp - 0xc]
call fcn.0043dd9c
cmp word [edi], 0x5c
mov ebx, dword [ebp - 0xc]
push 2
pop eax
mov dword [ebp - 4], ebx
lea ebx, [ebx + esi*2]
mov dword [ebp - 8], eax
jne 0x41861c
and dword [ebp + 8], 0
push 0x2c
add edi, eax
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
test esi, esi
je 0x4185ab
and word [esi], 0
inc esi
inc esi
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
movzx esi, word [esi]
test si, si
je 0x4185ab
mov dword [ebp + 8], esi
push edi
call fcn.0041161a
pop ecx
push ebx
push 0x324
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [ebx], 0
mov esi, ebx
je 0x418683
mov ax, word [ebp + 8]
cmp word [esi], ax
jb 0x418609
mov ebx, dword [ebp - 4]
push edi
push esi
push str._s_sFonts
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
push ebx
call fcn.004925aa
add esp, 0x14
test eax, eax
je 0x418609
push 0x4a9b44
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
call fcn.00418481
pop ecx
mov dword [ebp - 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x4185cc
jmp 0x418683
push edi
call fcn.0041161a
and dword [ebp + 8], 0
mov esi, eax
push esi
call fcn.004925aa
test eax, eax
pop ecx
pop ecx
je 0x41864d
push esi
lea ecx, [ebp + 8]
call fcn.0044655b
push 0x4a9b44
lea ecx, [ebp + 8]
call fcn.0043ddea
mov esi, dword [ebp + 8]
push esi
push 0x4aa110
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.0040ea8a
push esi
call fcn.004925aa
add esp, 0x14
test eax, eax
je 0x41867b
push dword [ebp - 4]
call fcn.00418481
pop ecx
mov dword [ebp - 8], eax
lea ecx, [ebp + 8]
call fcn.00437e1a
lea ecx, [ebp - 0xc]
call fcn.00437e1a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ad8a
Capabilities:
Check for time delay via gettickcount
Log keystrokes via application hook

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, 0x4c1b94
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
test byte [esp + 0x32], 1
jne 0x41adb3
cmp dword [0x4c0f44], ebx
jne 0x41adb3
mov dword [0x4c0f40], ebx
movzx eax, byte [esp + 0x30]
add dword [0x4c0f44], 1
cmp dword [0x4c0f3c], ebx
mov dword [esp + 0x30], eax
jne 0x41adf8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x41ac8b
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp eax, ebx
mov dword [0x4c0f3c], eax
jne 0x41adf8
sub dword [0x4c0f44], 1
xor esi, esi
jmp 0x41aee9
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov esi, dword [esp + 0x30]
mov edi, eax
add edi, esi
cmp esi, 0x4e20
jb 0x41ae20
push 1
call fcn.00439b12
pop ecx
cmp dword [esp + 0x34], 2
jne 0x41aeb6
cmp esi, ebx
jne 0x41aeb6
push 0xa
pop esi
jmp 0x41aeb6
cmp dword [esp + 0x34], 2
je 0x41ae49
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x41aec2
cmp byte [0x4bf2c0], bl
jle 0x41aec2
push 0xa
pop eax
cmp esi, eax
ja 0x41ae5a
mov eax, esi
push 0x4ff
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x41aeae
cmp dword [0x4c0f40], ebx
jne 0x41aec2
cmp dword [esp + 0x34], 2
je 0x41ae84
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x41aeb6
push 1
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x41aeb6
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x4bf2c0], bl
jg 0x41ae6b
cmp dword [0x4c0f40], ebx
je 0x41ae38
push 0x4c1b94
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4c0f40]
sub dword [0x4c0f44], 1
pop ebp
jne 0x41aee2
mov dword [0x4c0f40], ebx
mov esi, eax
mov edi, 0x4c1b94
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret