joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c140
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000c15e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000c153
pop esi
ret

Function at 0x10011700
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
sub esp, 0x10
push esi
push 6
push 1
push 2
call sub.WS2_32.dll_socket
mov ecx, dword [esp + 0x1c]
mov esi, eax
xor eax, eax
push ecx
mov dword [esp + 8], eax
mov word [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call sub.WS2_32.dll_inet_addr
mov edx, dword [esp + 0x20]
mov dword [esp + 8], eax
push edx
call sub.WS2_32.dll_htons
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
push esi
call sub.WS2_32.dll_connect
test eax, eax
jne 0x1001175f
mov eax, esi
pop esi
add esp, 0x10
ret
push esi
call sub.WS2_32.dll_closesocket
xor eax, eax
pop esi
add esp, 0x10
ret

Function at 0x100118c0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1ac
lea eax, [esp + 0x1c]
push ebx
push esi
push edi
push eax
push 1
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x100119e3
mov ebx, dword [esp + 0x1c0]
test ebx, ebx
jl 0x100119e3
cmp ebx, 0xffff
jg 0x100119e3
mov edi, dword [esp + 0x1c4]
push edi
call fcn.10012ea0
add esp, 4
cmp eax, 1
jne 0x10011930
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10011946
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.10013090
add esp, 8
test eax, eax
je 0x100119e3
mov esi, dword [esp + 0x1bc]
xor edx, edx
lea ecx, [esp + 0x14]
push ebx
lea eax, [esi + 0x34]
push ecx
push esi
mov dword [eax], edx
mov byte [eax + 4], dl
call fcn.10011700
add esp, 0xc
mov dword [esi + 0xc], eax
test eax, eax
je 0x100119e3
push eax
call fcn.10012090
push esi
lea edx, [esp + 0x18]
push 0x10011770
push edx
mov dword [esi + 0x10], 0
call fcn.10013210
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x100119cc
push esi
lea ecx, [esp + 0x10]
push 0x100117e0
push ecx
call fcn.10013210
mov edx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x1c]
push 0x10011850
push eax
mov dword [esi + 0x18], edx
call fcn.10013210
mov ecx, dword [esp + 0x24]
add esp, 0x18
mov dword [esi + 0x1c], ecx
call fcn.10011630
mov dword [esi + 8], eax
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x1ac
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1ac
ret
Function at 0x10012090
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0xc], 1
call sub.WS2_32.dll_ioctlsocket
xor edx, edx
test eax, eax
setge dl
mov eax, edx
pop ecx
ret
Function at 0x10013090
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x1001309f
ret
mov ecx, dword [eax + 0xc]
push esi
push edi
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll_inet_ntoa
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret

Function at 0x100130e0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x15c
mov eax, dword [esp + 0x160]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x38]
push str._Msg0001_4__Msg0001__s
push ecx
call fcn.10016963
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x100265a8]
repne scasb al, byte es:[edi]
mov eax, dword [str.0001]
mov dword [esp + 0x2c], edx
not ecx
dec ecx
mov dword [esp + 0x30], eax
mov ebx, ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
lea eax, [ebx + 0x14]
push eax
mov dword [esp + 0x20], eax
call fcn.10016aee
mov ebp, eax
mov ecx, 5
lea esi, [esp + 0x30]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea esi, [esp + 0x44]
mov edx, ecx
lea edi, [ebp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 0x10
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x174]
xor esi, esi
mov dword [esp + 0x14], esi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x68]
push eax
push 0
push ecx
lea eax, [edi + 1]
push 0
push eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x186a0
call sub.WS2_32.dll_select
test eax, eax
jl 0x100131f0
je 0x100131e2
lea edx, [esp + 0x68]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x100131e2
mov ebx, dword [esp + 0x10]
add ebp, esi
sub ebx, esi
push 0
push ebx
push ebp
push edi
mov dword [esp + 0x20], ebx
call sub.WS2_32.dll_send
mov esi, eax
test esi, esi
jl 0x100131f0
cmp esi, ebx
jge 0x100131f0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x10013177
push ebp
call fcn.10016a05
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret

Function at 0x10013210
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push 0
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 4]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], eax
mov eax, edx
ret

Function at 0x10013240
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10013259
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x4095f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push eax
push ecx
nop
push edx
nop
push ebx
push esp
push ebp
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x34], 0x61ad
mov ebx, dword [ebp - 0x34]
jmp 0x409765
add ebx, 0x1d25
add dword [ebp - 0x18], 0x57f1
add dword [ebp - 0x18], 0x6ea2
mov eax, dword [ebp - 8]
add eax, esi
sub eax, 0x1b
mov dword [ebp - 0x10], eax
jmp 0x409822
add ebx, 0x4643c1
mov dword [ebp - 0x2c], 0x494000
mov dword [ebp - 0x38], 0x46c693
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
sub edx, 0xc
mov edi, eax
sub edi, edx
jmp 0x4096a4
mov al, byte [ebx + edi]
mov byte [ebp - 1], al
movzx edx, byte [ebp - 1]
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, eax
shr edx, 1
add ecx, edx
mov edx, ecx
and edx, 0xff
mov ecx, dword [ebp - 0x64]
xor ecx, edx
mov edx, ecx
mov byte [ebp - 1], dl
mov al, byte [ebp - 1]
mov byte [ebx + edi], al
dec edi
mov eax, esi
add eax, esi
invalid

Function at 0x409600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov esi, 0xe
mov dword [ebp - 8], 0xd
mov eax, esi
add eax, dword [ebp - 8]
sub eax, 0x1b
mov dword [ebp - 0xc], eax
jmp 0x409736

Function at 0x409984
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x40f110
call fcn.00409cd8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4099e4
cmp eax, 0xffffffff
je 0x4099e4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4099dd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4099dd
cmp edx, 0x10000000
jae 0x4099dd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4099da
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00409d1d
ret 4

Function at 0x409a40
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x409a7e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x409a76
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x409a80
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x409a66
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x409b50
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x409b66
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x409b81
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x407350
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x407371
mov al, byte [esp]
jmp 0x407373
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4118b0
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 0x4118b6
ret

Function at 0x413bbc
Capabilities:
Get system information on windows

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.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x413c0d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x413bf4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x413be4
jmp 0x413c0d
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 0x413bf5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d840
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x114], 0
je 0x41d85c
cmp dword [esi + 4], 0
je 0x41d883
mov eax, ebx
call fcn.0041ca74
test eax, eax
jne 0x41d875
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x41d993
mov edx, esi
mov eax, ebx
call fcn.0041d4e4
jmp 0x41d993
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41d98c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0041ee40
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0041b97c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0041d840
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0041ee40
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d993
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ef04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0041ec6d
dec edi
insb byte es:[edi], dx
in eax, 0x45
lea eax, [ebp - 0x58]
push eax
call fcn.0041ec7d
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0041ec32
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x41ef5b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
invalid
inc ebp
Function at 0x41efd8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebp
call 0xe99f782e
mov byte [ebp - 0x16], 0x40
invalid
pop ebp

Function at 0x421d10
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004036b0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x421d71
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x421d71
cmp byte [ebp - 0x102], 0
je 0x421d71
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004038dc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x423100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x28], 0
je 0x423181
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x423132
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x423144
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x423150
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00422f8c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x423175
push ebp
mov eax, dword [ebp - 4]
call fcn.00423070
pop ecx
mov ebx, eax
cmp bl, 2
je 0x423150
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x424fcc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x43971c
cmp dword [edi], 0
jne 0x425048
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x439718]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x438710
mov ecx, 2
call fcn.00402730
mov edx, 0x424fa4
lea eax, [esi + 5]
call fcn.00424fc4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424fc4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42501d
mov dword [0x439718], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42516c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4251bc]
test si, 4
je 0x425180
or bl, 1
test si, 8
je 0x42518a
or bl, 4
test si, 1
je 0x425194
or bl, 8
test si, 2
je 0x42519e
or bl, 0x10
test si, 0x10
je 0x4251a8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4251b7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x429b88
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x429b9f
add esp, 0xfffffff0
call fcn.00402dac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041007c
mov dl, 1
mov eax, dword [0x40a2dc]
call fcn.00402b60
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x40a2dc]
call fcn.00402b60
mov dword [ebx + 0x88], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x40], 0x80000018
mov dword [ebx + 0x58], 0x1f4
mov dword [ebx + 0x5c], 0x32
mov dword [ebx + 0x60], 0x9c4
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, dword [0x411780]
call fcn.00416eac
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x429cf8
mov eax, dword [0x438a58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00417244
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x42b1d4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x438a58]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00408824
test eax, eax
je 0x429c80
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00406b94
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040884c
test eax, eax
je 0x429c94
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004038dc
mov eax, dword [0x4389c0]
cmp byte [eax], 0
jne 0x429cc5
mov eax, ebx
call fcn.00429ddc
mov byte [ebx + 0x3d], 1
mov byte [ebx + 0x3e], 1
mov byte [ebx + 0x3f], 1
mov byte [ebx + 0x7e], 1
xor eax, eax
mov dword [ebx + 0x80], eax
cmp byte [ebp - 1], 0
je 0x429ced
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42a030
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4396f0]
cmp dword [eax + 0x24], 0
je 0x42a0c0
cmp dword [ebx + 0x74], 0
jne 0x42a0bd
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x429fc4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x70]
cmp dword [eax + 8], 0
je 0x42a0bd
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x42a08c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42a0bd
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x70]
call fcn.0040b5ec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x42a098
inc dword [ebx + 0x74]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42a9a8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x84], 0
je 0x42a9dd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403794
jmp 0x42a9e7
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00403748
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42b458
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x42b490
mov eax, esi
call fcn.0041efd8
test al, al
je 0x42b490
mov eax, dword [ebx + 0x64]
call fcn.0041ee40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42b490
push 0
mov eax, dword [ebx + 0x64]
call fcn.0041ee40
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x100028af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x11], 0xa0b0a4bc
push edi
mov esi, ecx
mov dword [ebp - 0xd], 0xa5a5f4a7
lea edi, [edx + 4]
mov byte [ebp - 9], bl
mov ecx, ebx
lea eax, [ecx - 0x31]
xor byte [ebp + ecx - 0x11], al
inc ecx
cmp ecx, 8
jb 0x100028d2
lea eax, [ebp - 0x11]
mov byte [ebp - 9], bl
push eax
lea ecx, [ebp - 8]
call fcn.100043f9
push eax
mov ecx, edi
call fcn.10004468
xor ebx, ebx
inc ebx
test eax, eax
je 0x10002909
cmp dword [0x292158c], 0
mov byte [ebp - 1], bl
je 0x1000290d
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 8]
call fcn.100074b7
cmp byte [ebp - 1], 0
je 0x1000291e
push ebx
jmp 0x10002976
mov dword [ebp - 0x12], 0xa0b0a4bc
xor ecx, ecx
mov dword [ebp - 0xe], 0xbbb6f4a7
mov word [ebp - 0xa], 0xb3
lea eax, [ecx - 0x31]
xor byte [ebp + ecx - 0x12], al
inc ecx
cmp ecx, 9
jb 0x10002934
lea eax, [ebp - 0x12]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 8]
call fcn.100043f9
push eax
mov ecx, edi
call fcn.10004468
test eax, eax
je 0x10002966
cmp dword [0x292158c], 0
je 0x10002968
xor bl, bl
mov ecx, dword [ebp - 8]
call fcn.100074b7
test bl, bl
je 0x1000297e
push 0
push esi
call fcn.10014403
jmp 0x100029de
xor ebx, ebx
mov dword [ebp - 0xd], 0xa6b8a8aa
mov byte [ebp - 9], bl
mov ecx, ebx
lea eax, [ecx - 0x31]
xor byte [ebp + ecx - 0xd], al
inc ecx
cmp ecx, 4
jb 0x1000298c
lea eax, [ebp - 0xd]
mov byte [ebp - 9], bl
push eax
lea ecx, [ebp - 8]
call fcn.100043f9
push eax
mov ecx, edi
call fcn.10004468
mov ecx, dword [ebp - 8]
mov esi, eax
call fcn.100074b7
test esi, esi
je 0x100029d0
mov ecx, 0x2921568
mov dword [0x292158c], ebx
call fcn.1001416e
jmp 0x100029de
push ecx
mov ecx, esp
push edi
call fcn.100044bb
call fcn.100141e2
pop edi
pop esi
pop ebx
leave
ret