joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429720
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x78]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor eax, eax
push 0x11
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 9
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
xor esi, esi
call edi
test ax, ax
jns 0x42976a
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429776
or esi, 1
push 1
call edi
test ax, ax
jns 0x429782
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x42978e
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x42979a
or esi, 0x20
lea edx, [ebp - 0x1c]
mov eax, ebx
mov word [ebp - 0xe], si
call fcn.0042ac60
mov eax, dword [ebx + 0x78]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4297c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x11
mov dword [ebp - 0x18], 0xa
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
xor esi, esi
call edi
test ax, ax
jns 0x429802
mov esi, 8
push 2
call edi
test ax, ax
jns 0x42980e
or esi, 1
push 1
call edi
test ax, ax
jns 0x42981a
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429826
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429832
or esi, 0x20
mov eax, dword [0x4f0074]
mov word [ebp - 0xa], si
test eax, eax
je 0x429851
lea edx, [ebp - 0x18]
call fcn.0042ac60
mov dword [0x4f0074], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x429860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 0x10]
xor eax, eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push 0x11
mov dword [ebp - 0x1c], 0xb
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
xor esi, esi
call edi
test ax, ax
jns 0x42989c
mov esi, 8
push 2
call edi
test ax, ax
jns 0x4298a8
or esi, 1
push 1
call edi
test ax, ax
jns 0x4298b4
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4298c0
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4298cc
or esi, 0x20
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
mov word [ebp - 0xe], si
call fcn.0042ac60
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4298f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x78]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor eax, eax
push 0x11
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
xor esi, esi
call edi
test ax, ax
jns 0x42993a
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429946
or esi, 1
push 1
call edi
test ax, ax
jns 0x429952
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x42995e
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x42996a
or esi, 0x20
lea edx, [ebp - 0x1c]
mov eax, ebx
mov word [ebp - 0xe], si
call fcn.0042ac60
mov eax, dword [ebx + 0x78]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x429990
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x11
mov dword [ebp - 0x18], 0xd
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
xor esi, esi
call edi
test ax, ax
jns 0x4299d2
mov esi, 8
push 2
call edi
test ax, ax
jns 0x4299de
or esi, 1
push 1
call edi
test ax, ax
jns 0x4299ea
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4299f6
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429a02
or esi, 0x20
mov eax, dword [0x4f0074]
mov word [ebp - 0xa], si
test eax, eax
je 0x429a21
lea edx, [ebp - 0x18]
call fcn.0042ac60
mov dword [0x4f0074], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x429a30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov al, byte [ebp + 8]
push 0x11
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0x10
mov byte [ebp - 0x10], al
xor esi, esi
call edi
test ax, ax
jns 0x429a74
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429a80
or esi, 1
push 1
call edi
test ax, ax
jns 0x429a8c
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429a98
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429aa4
or esi, 0x20
mov word [ebp - 0xe], si
mov esi, dword [0x4f0080]
test esi, esi
je 0x429aca
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call edx
test eax, eax
jne 0x429aca
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x429ab2
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x429ae0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov al, byte [ebp + 8]
push 0x11
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0x11
mov byte [ebp - 0x10], al
xor esi, esi
call edi
test ax, ax
jns 0x429b24
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429b30
or esi, 1
push 1
call edi
test ax, ax
jns 0x429b3c
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429b48
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429b54
or esi, 0x20
mov ecx, dword [0x4f0080]
mov word [ebp - 0xe], si
test ecx, ecx
je 0x429b6d
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0x1c]
push eax
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x431d90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b32f8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4eb690]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4eb690]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [esp + 0x10], esi
test esi, esi
je 0x431f2e
cmp word [esi], 0
je 0x431f2e
push 8
push str._string_
push esi
call fcn.0048d832
add esp, 0xc
test eax, eax
jne 0x431f2e
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404a80
lea eax, [esp + 0x14]
lea ebx, [edi + 0x1c]
push eax
lea esi, [esp + 0x3c]
mov eax, ebx
mov dword [esp + 0x84], 0
call fcn.004342d0
mov ecx, esi
mov dword [esp + 0x80], 0xffffffff
call fcn.00404230
mov ecx, dword [ebx + 4]
mov dword [esp + 0x18], ecx
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403300
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
je 0x431e5e
lea ecx, [eax + 0x28]
call fcn.00404180
jmp 0x431f30
mov edi, dword [edi + 4]
test edi, edi
jne 0x431e6e
mov eax, dword [esp + 0x10]
jmp 0x431f30
mov eax, edi
call fcn.004275a0
mov edi, str.item
call fcn.004309a0
mov edi, eax
test edi, edi
je 0x431f2a
lea esp, [esp]
push 0x4d1abc
lea esi, [edi + 0x44]
push esi
call fcn.0045af90
test eax, eax
je 0x431f19
lea ecx, [eax + 0x30]
call fcn.00416440
mov dword [esp + 0x14], eax
test eax, eax
je 0x431f19
push str.value
push esi
call fcn.0045af90
test eax, eax
je 0x431f19
lea ecx, [eax + 0x30]
call fcn.00416440
mov esi, eax
test esi, esi
je 0x431f19
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
call fcn.00453950
mov eax, dword [esp + 0x10]
add eax, 0x10
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x84], 1
call fcn.00404180
push eax
call fcn.0048aca6
add esp, 8
test eax, eax
je 0x431f4e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00404230
mov eax, edi
call fcn.00427570
mov edi, eax
test edi, edi
jne 0x431e90
mov esi, dword [esp + 0x10]
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0048a346
mov esp, ebp
pop ebp
ret
mov edx, esi
lea ecx, [esp + 0x54]
call fcn.00453950
push eax
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
mov byte [esp + 0x8c], 2
call fcn.004341c0
add esp, 4
mov ecx, eax
call fcn.00402670
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 1
call fcn.00404230
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.004341c0
mov ecx, eax
call fcn.00404180
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00404230
jmp 0x431f2e
Function at 0x43ea60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x43ea6e
xor eax, eax
pop ebp
ret
push esi
not eax
cmp edx, 8
jb 0x43eb3d
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8a58]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8a58]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8a58]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8a58]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8a58]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8a58]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8a58]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4c8a58]
add ecx, 8
sub edx, 8
dec esi
jne 0x43ea80
pop edi
test edx, edx
je 0x43eb5a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4c8a58]
inc ecx
dec edx
jne 0x43eb41
not eax
pop esi
pop ebp
ret

Function at 0x43eb60
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c8a58]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c8a58]
mov dword [edx + 8], ecx
ret

Function at 0x43ebb0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x4c8a58]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x4c8a58]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x43f310
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x43f34b
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43f340
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x43f35c
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.00490bd0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
Function at 0x43f560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x43f5a7
cmp byte [esi + 1], 0
je 0x43f5af
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x43f5c2
cmp byte [esi + 1], 0
je 0x43f5b6
mov eax, dword [esi + 4]
push 1
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub eax, dword [esi + 0xc]
mov ebx, eax
mov dword [ebp - 4], ebx
jmp 0x43f5ca
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x43f581
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x43f5ca
mov edx, dword [esi + 0x1c]
mov dword [ebp - 4], edx
mov ebx, edx
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x43f5dc
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.0048d5e5
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x43f5f9
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0xffffffff
cmp edi, eax
jbe 0x43f70d
jmp 0x43f619
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x43f628
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x43f63f
mov ebx, 0x404
cmp byte [esi], 0
je 0x43f664
cmp byte [esi + 1], 0
je 0x43f70d
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x43f667
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebx
je 0x43f690
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43f68b
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x43f6b9
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x43f6a1
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.00490bd0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x43f70d
lea eax, [ebx - 3]
test eax, eax
js 0x43f6fb
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x43f6ef
cmp byte [eax + ecx + 1], 0x4b
jne 0x43f6ef
cmp byte [eax + ecx + 2], 5
jne 0x43f6ef
cmp byte [eax + ecx + 3], 6
je 0x43f6f5
test eax, eax
jns 0x43f6d0
jmp 0x43f6fb
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43f70d
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x43f610
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048ccde
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
push edi
jne 0x440417
cmp dword [esi + 4], 0xffffffff
jne 0x440417
lea edi, [esi + 0x244]
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4403b6
sub eax, edx
sar eax, 1
movzx ecx, word [esi + eax*2 + 0x242]
cmp ecx, 0x5c
je 0x4403e2
cmp ecx, 0x2f
je 0x4403e2
mov dword [esi + eax*2 + 0x244], 0x2f
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
call fcn.0043f270
add esp, 4
test eax, eax
jne 0x4403fd
mov eax, dword [ebp + 8]
pop edi
pop ebp
ret 4
call fcn.0043f730
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ebp
ret 4
mov eax, 0x1000000
pop edi
pop ebp
ret 4

Function at 0x440f80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x4eb690]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0xb4], ebx
mov eax, dword [ebx + 0x9c]
push edi
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov edi, str._drawable_option_edit_bk
mov eax, esi
call fcn.0042a560
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0x58], 0x10001
mov dword [esi + 0x5c], 0x10001
movzx eax, word [ecx + 0xa0]
imul eax, dword [ecx + 0xa8]
lea edx, [ecx + 0x94]
lea edi, [esp + 8]
cmp edi, edx
je 0x440ff2
mov edi, dword [edx + 4]
jmp 0x440ff6
mov edi, dword [esp + 0xc]
cmp eax, edi
jle 0x44100b
lea eax, [esp + 8]
cmp eax, edx
je 0x441007
mov eax, dword [edx + 4]
jmp 0x44100b
mov eax, dword [esp + 0xc]
movzx ecx, word [ecx + 0xa0]
mov edi, dword [ebx + 8]
mov edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x10]
mov dword [esp + 8], ecx
xor ecx, ecx
lea edi, [edx + edi - 1]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 4]
add edx, ecx
mov dword [esp + 0x1c], edx
cdq
mov dword [esp + 0x14], ecx
movzx ecx, word [esp + 0x10]
idiv ecx
movzx edx, word [esp + 8]
mov dword [esp + 0x18], edi
imul eax, edx
lea eax, [eax + edi + 2]
mov dword [esp + 0x20], eax
mov eax, ebx
call fcn.00438490
push 2
lea ecx, [esp + 0x18]
push ecx
mov edi, eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub edx, eax
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
push ecx
push edi
mov eax, esi
call fcn.00427b30
test al, al
je 0x4410d8
mov edi, dword [esi + 0x78]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x4410bc
lea ecx, [ecx]
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x4410b0
mov eax, dword [esi + 0x78]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.0048a346
mov esp, ebp
pop ebp
ret 4
Function at 0x446090
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov bl, byte [ecx + 8]
push esi
mov esi, edx
mov dword [ebp - 0x18], eax
cmp bl, 3
je 0x446250
mov edx, dword [ecx]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x4460f1
movzx eax, byte [ecx + 9]
movzx edi, byte [esi]
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 1]
mov dword [ebp - 0x14], ebx
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 2]
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov edi, 3
jmp 0x446103
movzx edi, byte [esi + 3]
movzx ebx, byte [ecx + 9]
sub ebx, edi
mov dword [ebp - 0x14], ebx
mov edi, 1
test byte [ecx + 8], 4
je 0x446118
movzx esi, byte [esi + 4]
movzx ebx, byte [ecx + 9]
sub ebx, esi
mov dword [ebp + edi*4 - 0x14], ebx
inc edi
xor esi, esi
test edi, edi
jle case.0x446161.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x446133
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x44613a
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x446122
cmp word [ebp - 0x1c], 0
je case.0x446161.3
movzx esi, byte [ecx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x446161.3
movzx esi, byte [esi + 0x446274]
jmp dword [esi*4 + 0x446260]
mov ecx, dword [ecx + 4]
test ecx, ecx
je case.0x446161.3
mov dl, byte [eax]
shr dl, 1
and dl, 0x55
mov byte [eax], dl
inc eax
dec ecx
jne 0x446173
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048a346
mov esp, ebp
pop ebp
ret
mov edi, dword [ecx + 4]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, 0xf0
sar edx, cl
mov ebx, 0xf
sar ebx, cl
and dl, 0xf0
or dl, bl
test edi, edi
je case.0x446161.3
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x4461b6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048a346
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x446161.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
cmp ebx, dword [ebp - 0x18]
jb 0x4461e4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048a346
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x446161.3
xor edx, edx
mov eax, ebx
div edi
movzx eax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc ebx
add esi, 2
movzx ecx, word [ebp + edx*4 - 0x14]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, dword [ebp - 0x18]
jb 0x446217
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0048a346
mov esp, ebp
pop ebp
ret
Function at 0x44c310
Capabilities:
Terminate process

Disassembly:
test eax, eax
jne 0x44c319
mov eax, str.undefined
push eax
push str.libpng_error:__s
call fcn.0048ce9a
add eax, 0x40
push eax
call fcn.0048d04f
add esp, 0xc
push 0x4d40a4
call fcn.0048ce9a
add eax, 0x40
push eax
call fcn.0048d04f
add esp, 8
test esi, esi
je 0x44c359
mov eax, dword [esi + 0x40]
test eax, eax
je 0x44c359
push 1
push esi
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]