joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404464
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov ebx, ecx
mov ebp, edx
mov edi, eax
test ebx, ebx
jg 0x4043d9
mov eax, edi
call fcn.0040435c
jmp 0x404434
cmp ebx, 0x400
jge 0x404409
push 0x400
lea eax, [esp + 4]
push eax
push ebx
push ebp
push 0
push 0
call sub.KERNEL32.DLL_SetFileAttributesA
mov esi, eax
test esi, esi
jle 0x404409
mov edx, esp
mov eax, edi
mov ecx, esi
call fcn.00404440
jmp 0x404434
push 0
push 0
push ebx
push ebp
push 0
push 0
call sub.KERNEL32.DLL_SetFileAttributesA
mov esi, eax
mov eax, edi
mov ecx, esi
xor edx, edx
call fcn.00404440
push esi
mov eax, dword [edi]
push eax
push ebx
push ebp
push 0
push 0
call sub.KERNEL32.DLL_SetFileAttributesA
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
xor ecx, ecx
test edx, edx
je 0x40446d
mov ecx, dword [edx - 4]
jmp 0x4043bc

Function at 0x404ac4
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov ebx, eax
mov eax, ebx
call fcn.00403f18
mov esi, eax
mov eax, ebx
call fcn.00403f18
cmp eax, 0x400
jge 0x404b12
push 0x400
lea eax, [esp + 4]
push eax
push esi
mov eax, ebx
call fcn.004040dc
push eax
push 0
push 0
call sub.KERNEL32.DLL_SetFileAttributesA
push eax
lea eax, [esp + 4]
push eax
call sub.user32.dll_ShowOwnedPopups
mov edi, eax
jmp 0x404b3a
push 0
push 0
push esi
push ebx
push 0
push 0
call sub.KERNEL32.DLL_SetFileAttributesA
mov ebp, eax
push ebp
push 0
call sub.user32.dll_ShowOwnedPopups
mov edi, eax
push ebp
push edi
push esi
push ebx
push 0
push 0
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, edi
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x405220
Capabilities:
Clear file content
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x4053a4
call sub.KERNEL32.DLL_MoveFileA
mov ebx, eax
test ebx, ebx
je 0x405285
push 0x4053b4
push ebx
call sub.KERNEL32.DLL_MulDiv
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x405285
push 0x105
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0xc]
test eax, eax
je 0x405285
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetEndOfFile
jmp 0x40539a
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4052c5
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5c
jne 0x40539a
mov eax, dword [ebp - 4]
add eax, 2
call fcn.0040520c
mov ebx, eax
cmp byte [ebx], 0
je 0x40539a
lea eax, [ebx + 1]
call fcn.0040520c
mov ebx, eax
cmp byte [ebx], 0
je 0x40539a
jmp 0x4052cb
mov ebx, dword [ebp - 4]
add ebx, 2
mov esi, ebx
sub esi, dword [ebp - 4]
lea eax, [esi + 1]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_SetErrorMode
jmp 0x405381
lea eax, [ebx + 1]
call fcn.0040520c
mov edi, eax
mov eax, edi
sub eax, ebx
mov edx, eax
add edx, esi
inc edx
cmp edx, 0x105
jg 0x40539a
inc eax
push eax
push ebx
lea eax, [ebp - 0x24f]
add eax, esi
push eax
call sub.KERNEL32.DLL_SetErrorMode
lea eax, [ebp - 0x14a]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_InitializeCriticalSection
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40539a
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_SetEvent
lea edx, [esi + 1]
add eax, edx
inc eax
cmp eax, 0x105
jg 0x40539a
mov byte [ebp + esi - 0x24f], 0x5c
lea eax, [ebp - 0x11e]
push eax
lea eax, [ebp - 0x24f]
add eax, esi
inc eax
push eax
call sub.KERNEL32.DLL_SetEndOfFile
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_SetEvent
inc eax
add esi, eax
mov ebx, edi
cmp byte [ebx], 0
jne 0x4052e9
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetEndOfFile
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4053c8
Capabilities:
Clear file content
Extract resource via kernel32 functions
Read file on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_MapViewOfFile
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405584
push 0x80000001
call sub.user32.dll_UnregisterClassA
test eax, eax
je 0x405429
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4055a0
push 0x80000001
call sub.user32.dll_UnregisterClassA
test eax, eax
jne 0x40549b
xor eax, eax
push ebp
push 0x405494
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00405220
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_UpdateWindow
test eax, eax
je 0x40547d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4055c0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_UpdateWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40549b
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_UnhookWindowsHookEx
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_SetEndOfFile
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_ReadFile
push eax
call sub.KERNEL32.DLL_LockResource
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40557c
cmp byte [ebp - 0xd], 0
jne 0x4054dd
cmp byte [ebp - 0x12], 0
je 0x40557c
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_SetEvent
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4054f6
dec ebx
cmp byte [ebx], 0x2e
je 0x405505
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4054f5
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40557c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405532
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_SetEndOfFile
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
jne 0x40557c
cmp byte [ebp - 0xd], 0
je 0x40557c
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_SetEndOfFile
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
jne 0x40557c
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_SetEndOfFile
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405b04
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x405b60
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.KERNEL32.DLL_GetVersion
dec eax
pop eax
pop ecx
jne 0x405b52
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x405b47
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x405b42
mov eax, 0x64
jmp 0x405b57
call sub.KERNEL32.DLL_LoadResource
call fcn.0040280c
xor eax, eax
jmp 0x405b42
mov eax, 0x67
jmp 0x405b57

Function at 0x405b68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov eax, dword [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x405bc3
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.KERNEL32.DLL_GlobalDeleteAtom
dec eax
pop eax
pop ecx
jne 0x405bb5
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x405baa
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x405ba5
mov eax, 0x65
jmp 0x405bba
call sub.KERNEL32.DLL_LoadResource
call fcn.0040280c
xor eax, eax
jmp 0x405ba5
mov eax, 0x67
jmp 0x405bba

Function at 0x405c3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x405c6c
push 0
push dword [ebx]
call sub.KERNEL32.DLL_GetThreadLocale
cmp eax, 0xffffffff
je 0x405c62
xor edx, edx
div dword [ebx + 8]
pop ebx
ret
call fcn.0040281c
or eax, 0xffffffff
jmp 0x405c60
mov eax, 0x67
call fcn.0040280c
or eax, 0xffffffff
jmp 0x405c60

Function at 0x405f01
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
xor ecx, ecx
mov cl, byte [0x49f046]
and cl, 3
cmp cl, 2
jbe 0x405f13
mov cl, 2
jmp 0x405e00
Function at 0x405f18
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
mov edx, dword [ebx + 4]
sub edx, 0xd7b0
je 0x405e29
cmp edx, 3
ja 0x405ec7
call dword [ebx + 0x24]
test eax, eax
je 0x405e29
call fcn.0040280c
mov dword [ebx + 4], 0xd7b3
mov dword [ebx + 8], esi
mov dword [ebx + 0x24], 0x405f22
mov dword [ebx + 0x1c], 0x405eab
cmp byte [ebx + 0x48], 0
je 0x405eae
mov eax, 0xc0000000
mov dl, byte [0x49f046]
and edx, 0x70
shr edx, 2
mov edx, dword [edx + 0x405ee1]
mov ecx, 2
sub edi, 3
je 0x405e8b
mov ecx, 3
inc edi
je 0x405e8b
mov eax, 0x40000000
inc edi
mov dword [ebx + 4], 0xd7b2
je 0x405e8b
mov eax, 0x80000000
mov dword [ebx + 4], 0xd7b1
push 0
push 0x80
push ecx
push 0
push edx
push eax
lea eax, [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
cmp eax, 0xffffffff
je 0x405ece
mov dword [ebx], eax
pop edi
pop esi
pop ebx
ret
mov dword [ebx + 0x24], 0x405eab
cmp edi, 3
je 0x405ebe
push 0xfffffffffffffff6
jmp 0x405ec0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetTickCount
jmp 0x405ea0
mov eax, 0x66
jmp 0x405eda
mov dword [ebx + 4], 0xd7b0
call sub.KERNEL32.DLL_LoadResource
call fcn.0040280c
jmp 0x405ea7
mov ecx, 3
jmp 0x405e00

Function at 0x408d4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
mov ebx, eax
lea eax, [ebp - 0x14c]
push eax
mov eax, ebx
call fcn.004040dc
push eax
call sub.user32.dll_GetKeyState
cmp eax, 0xffffffff
je 0x408da5
push eax
call sub.user32.dll_GetKeyNameTextA
test byte [ebp - 0x14c], 0x10
jne 0x408da5
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x138]
push eax
call sub.user32.dll_GetIconInfo
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetForegroundWindow
test eax, eax
jne 0x408dac
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408e00
Capabilities:
Get keyboard layout

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
jmp 0x408e20
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x14]
push eax
call sub.user32.dll_GetKeyboardLayout
test eax, eax
jne 0x408e20
call sub.user32.dll_GetSysColor
jmp 0x408e5f
mov eax, dword [ebx + 0x18]
and eax, dword [ebx + 0x10]
jne 0x408e08
push esp
lea eax, [ebx + 0x2c]
push eax
call sub.user32.dll_GetIconInfo
push ebx
lea eax, [ebx + 2]
push eax
lea eax, [esp + 8]
push eax
call sub.user32.dll_GetForegroundWindow
mov eax, dword [ebx + 0x38]
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 8], eax
lea eax, [ebx + 0xc]
lea edx, [ebx + 0x44]
mov ecx, 0x104
call fcn.00403ec8
xor eax, eax
pop ecx
pop edx
pop ebx
ret

Function at 0x408eb4
Capabilities:
Get keyboard layout

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x14]
push eax
call sub.user32.dll_GetKeyboardLayout
test eax, eax
je 0x408ed1
mov eax, ebx
call fcn.00408e00
pop ebx
ret
call sub.user32.dll_GetSysColor
pop ebx
ret
Function at 0x40a03c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push 0
push 0x100
lea edx, [esp + 8]
push edx
push 0
push eax
push 0
push 0x3000
call sub.user32.dll_GetKeyboardState
jmp 0x40a063
dec eax
test eax, eax
jle 0x40a075
mov dl, byte [esp + eax - 1]
sub dl, 0x21
jb 0x40a062
sub dl, 0xd
je 0x40a062
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.00403d80
add esp, 0x100
pop ebx
ret

Function at 0x40a054
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push 0
push 0x100
lea edx, [esp + 8]
push edx
push 0
push eax
push 0
push 0x3000
call sub.user32.dll_GetKeyboardState
jmp 0x40a063
dec eax
test eax, eax
jle 0x40a075
mov dl, byte [esp + eax - 1]
sub dl, 0x21
jb 0x40a062
sub dl, 0xd
je 0x40a062
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.00403d80
add esp, 0x100
pop ebx
ret

Function at 0x415268
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xfffffec0
mov ebx, eax
push esp
mov eax, ebx
call fcn.004040dc
push eax
call sub.user32.dll_GetKeyState
cmp eax, 0xffffffff
je 0x41528e
mov bl, 1
push eax
call sub.user32.dll_GetKeyNameTextA
jmp 0x415290
xor ebx, ebx
mov eax, ebx
add esp, 0x140
pop ebx
ret
Function at 0x416720
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004040cc
xor eax, eax
push ebp
push 0x416795
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_RegOpenKeyA
mov ebx, eax
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.004040dc
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call sub.advapi32.dll_RegQueryValueExA
push ebx
call sub.advapi32.dll_RegSetValueExA
push esi
call sub.advapi32.dll_RegSetValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41679c
lea eax, [ebp - 4]
call fcn.00403c98
ret
Function at 0x417a8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
dec edi
test edi, edi
jl 0x417ae7
inc edi
xor esi, esi
mov eax, dword [ebp - 4]
mov al, byte [eax + esi]
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x10]
lea edx, [ebx + 8]
mov eax, ebx
call fcn.00417218
mov eax, dword [ebp - 4]
mov al, byte [eax + esi]
xor al, byte [ebp - 0x10]
mov edx, dword [ebp - 8]
mov byte [edx + esi], al
lea edx, [ebx + 8]
lea eax, [ebx + 9]
mov ecx, 7
call fcn.004028a4
mov al, byte [ebp - 0x11]
mov byte [ebx + 0xf], al
inc esi
dec edi
jne 0x417aa8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41911c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x419122
ret

Function at 0x41a7b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov dl, byte [0x41a834]
mov eax, ebx
call fcn.0041ad64
mov dl, byte [0x41a838]
mov eax, dword [ebp - 4]
call fcn.0041ad64
mov edx, dword [ebx + 0x20]
push edx
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
push edx
mov edx, dword [edi + 8]
sub edx, dword [edi]
push edx
mov edx, dword [edi + 4]
push edx
mov edx, dword [edi]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
push edx
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
push edx
mov edx, dword [esi + 8]
mov eax, dword [esi]
sub edx, eax
push edx
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_EnumWindows
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x41ae5c
Capabilities:
Shutdown system

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
call fcn.0041a578
push eax
call sub.user32.dll_ExitWindowsEx
mov eax, dword [ebx + 0x14]
call fcn.0041a578
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_DestroyIcon
mov eax, dword [ebx + 0x14]
call fcn.0041a658
test al, al
jne 0x41aeaf
mov eax, dword [ebx + 0x14]
call fcn.0041a53c
call fcn.00419890
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_DispatchMessageA
push 2
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_DrawEdge
pop ebx
ret
mov eax, dword [ebx + 0x14]
call fcn.0041a53c
call fcn.00419890
not eax
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_DispatchMessageA
push 1
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_DrawEdge
pop ebx
ret
Function at 0x41afe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor eax, eax
mov dword [ebp - 0x104], eax
xor eax, eax
push ebp
push 0x41b07c
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetSysColor
mov ebx, eax
test ebx, ebx
je 0x41b05e
push 0
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x400
push ebx
push 0
push 0x1000
call sub.user32.dll_GetKeyboardState
test eax, eax
je 0x41b05e
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, 0x100
call fcn.00403ec8
mov ecx, dword [ebp - 0x104]
mov dl, 1
mov eax, dword [0x40d82c]
call fcn.0040a87c
call fcn.004036c8
jmp 0x41b063
call fcn.0041af8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b083
lea eax, [ebp - 0x104]
call fcn.00403c98
ret

Function at 0x41b098
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x18], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x41b1e6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
push 0x18
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_CharUpperBuffA
test bl, bl
je 0x41b0fa
push 0
push 1
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateBitmap
mov dword [ebp - 0x10], eax
jmp 0x41b15c
push 0
call fcn.00407020
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41b10f
call fcn.0041afe0
xor eax, eax
push ebp
push 0x41b155
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41b13c
call fcn.0041afe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b15c
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.00407270
ret
cmp dword [ebp - 0x10], 0
je 0x41b1c6
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_DestroyIcon
mov ebx, eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_DestroyIcon
mov esi, eax
push 0xcc0020
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_EnumWindows
test ebx, ebx
je 0x41b1b8
push ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_DestroyIcon
test esi, esi
je 0x41b1c6
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_DestroyIcon
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b1ed
mov eax, dword [ebp - 0x18]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_DeleteDC
ret
Function at 0x41b570
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_GetWindowTextA
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41b5c1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41b5a8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41b598
jmp 0x41b5c1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41b5a9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44aac0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edi, edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov bl, 1
call sub.winmm.dll_timeGetTime
mov esi, eax
jmp 0x44aaff
call sub.winmm.dll_timeGetTime
mov edi, eax
mov eax, edi
sub eax, esi
dec eax
jle 0x44aaff
xor eax, eax
xor ebx, ebx
xor ecx, ecx
xor edx, edx
cpuid
rdtsc
mov dword [ebp - 4], eax
jmp 0x44ab03
test bl, bl
jne 0x44aae0
mov esi, edi
jmp 0x44ab29
call sub.winmm.dll_timeGetTime
mov edi, eax
sub edi, esi
cmp edi, 0x3e8
jle 0x44ab29
xor eax, eax
xor ebx, ebx
xor ecx, ecx
xor edx, edx
cpuid
rdtsc
mov dword [ebp - 8], eax
jmp 0x44ab2d
test bl, bl
jne 0x44ab07
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
mov eax, ecx
mov ecx, 0xf4240
xor edx, edx
div ecx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44ca40
Capabilities:
Write clipboard data

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov dword [esp], 0x100
push esp
lea eax, [esp + 8]
push eax
call sub.user32.dll_SetClipboardData
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.00403ec8
add esp, 0x108
pop ebx
ret
Function at 0x44cf0c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004040cc
xor eax, eax
push ebp
push 0x44d027
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x49fa88
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x44cffd
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 4
push ebx
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 4]
call fcn.004040dc
mov ebx, eax
push ebx
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x44cfe6
mov edx, dword [eax + 0xc]
test edx, edx
je 0x44cfe0
mov ebx, dword [edx]
test ebx, ebx
je 0x44cfda
lea edx, [ebp - 0xc]
xor eax, eax
mov al, byte [ebx]
call fcn.00408b88
push dword [ebp - 0xc]
push 0x44d040
lea edx, [ebp - 0x10]
xor eax, eax
mov al, byte [ebx + 1]
call fcn.00408b88
push dword [ebp - 0x10]
push 0x44d040
lea edx, [ebp - 0x14]
xor eax, eax
mov al, byte [ebx + 2]
call fcn.00408b88
push dword [ebp - 0x14]
push 0x44d040
lea edx, [ebp - 0x18]
xor eax, eax
mov al, byte [ebx + 3]
call fcn.00408b88
push dword [ebp - 0x18]
mov eax, esi
mov edx, 7
call fcn.00403fd8
mov byte [ebp - 5], 1
jmp 0x44cfea
mov byte [ebp - 5], 0
jmp 0x44cfea
mov byte [ebp - 5], 0
jmp 0x44cfea
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d004
call sub.wsock32.dll_WSACleanup
ret