joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429cc0
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 0x429d0a
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429d16
or esi, 1
push 1
call edi
test ax, ax
jns 0x429d22
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429d2e
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429d3a
or esi, 0x20
lea edx, [ebp - 0x1c]
mov eax, ebx
mov word [ebp - 0xe], si
call fcn.0042b1f0
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 0x429d60
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 0x429da2
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429dae
or esi, 1
push 1
call edi
test ax, ax
jns 0x429dba
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429dc6
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429dd2
or esi, 0x20
mov eax, dword [0x51c1f4]
mov word [ebp - 0xa], si
test eax, eax
je 0x429df1
lea edx, [ebp - 0x18]
call fcn.0042b1f0
mov dword [0x51c1f4], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x429e00
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 0x429e3c
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429e48
or esi, 1
push 1
call edi
test ax, ax
jns 0x429e54
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429e60
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429e6c
or esi, 0x20
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
mov word [ebp - 0xe], si
call fcn.0042b1f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429e90
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 0x429eda
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429ee6
or esi, 1
push 1
call edi
test ax, ax
jns 0x429ef2
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429efe
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429f0a
or esi, 0x20
lea edx, [ebp - 0x1c]
mov eax, ebx
mov word [ebp - 0xe], si
call fcn.0042b1f0
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 0x429f30
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 0x429f72
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429f7e
or esi, 1
push 1
call edi
test ax, ax
jns 0x429f8a
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429f96
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429fa2
or esi, 0x20
mov eax, dword [0x51c1f4]
mov word [ebp - 0xa], si
test eax, eax
je 0x429fc1
lea edx, [ebp - 0x18]
call fcn.0042b1f0
mov dword [0x51c1f4], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x429fd0
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 0x42a014
mov esi, 8
push 2
call edi
test ax, ax
jns 0x42a020
or esi, 1
push 1
call edi
test ax, ax
jns 0x42a02c
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x42a038
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x42a044
or esi, 0x20
mov word [ebp - 0xe], si
mov esi, dword [0x51c200]
test esi, esi
je 0x42a06a
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call edx
test eax, eax
jne 0x42a06a
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x42a052
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42a080
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 0x42a0c4
mov esi, 8
push 2
call edi
test ax, ax
jns 0x42a0d0
or esi, 1
push 1
call edi
test ax, ax
jns 0x42a0dc
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x42a0e8
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x42a0f4
or esi, 0x20
mov ecx, dword [0x51c200]
mov word [ebp - 0xe], si
test ecx, ecx
je 0x42a10d
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 0x432340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d8dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5176f0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x5176f0]
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 0x4324de
cmp word [esi], 0
je 0x4324de
push 8
push str._string_
push esi
call fcn.004b1622
add esp, 0xc
test eax, eax
jne 0x4324de
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404aa0
lea eax, [esp + 0x14]
lea ebx, [edi + 0x1c]
push eax
lea esi, [esp + 0x3c]
mov eax, ebx
mov dword [esp + 0x84], 0
call fcn.00434880
mov ecx, esi
mov dword [esp + 0x80], 0xffffffff
call fcn.00404250
mov ecx, dword [ebx + 4]
mov dword [esp + 0x18], ecx
push ebx
lea ecx, [esp + 0x1c]
call fcn.0040d8c0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
je 0x43240e
lea ecx, [eax + 0x28]
call fcn.004041a0
jmp 0x4324e0
mov edi, dword [edi + 4]
test edi, edi
jne 0x43241e
mov eax, dword [esp + 0x10]
jmp 0x4324e0
mov eax, edi
call fcn.00427be0
mov edi, str.item
call fcn.00430f50
mov edi, eax
test edi, edi
je 0x4324da
lea esp, [esp]
push 0x4fe024
lea esi, [edi + 0x44]
push esi
call fcn.0045b4e0
test eax, eax
je 0x4324c9
lea ecx, [eax + 0x30]
call fcn.004169d0
mov dword [esp + 0x14], eax
test eax, eax
je 0x4324c9
push str.value
push esi
call fcn.0045b4e0
test eax, eax
je 0x4324c9
lea ecx, [eax + 0x30]
call fcn.004169d0
mov esi, eax
test esi, esi
je 0x4324c9
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
call fcn.00453f20
mov eax, dword [esp + 0x10]
add eax, 0x10
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x84], 1
call fcn.004041a0
push eax
call fcn.004aea86
add esp, 8
test eax, eax
je 0x4324fe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00404250
mov eax, edi
call fcn.00427b10
mov edi, eax
test edi, edi
jne 0x432440
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.004ae123
mov esp, ebp
pop ebp
ret
mov edx, esi
lea ecx, [esp + 0x54]
call fcn.00453f20
push eax
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
mov byte [esp + 0x8c], 2
call fcn.00434770
add esp, 4
mov ecx, eax
call fcn.00402670
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 1
call fcn.00404250
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.00434770
mov ecx, eax
call fcn.004041a0
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00404250
jmp 0x4324de
Function at 0x43f040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x43f04e
xor eax, eax
pop ebp
ret
push esi
not eax
cmp edx, 8
jb 0x43f11d
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 + 0x4f5250]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f5250]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f5250]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f5250]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f5250]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f5250]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f5250]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f5250]
add ecx, 8
sub edx, 8
dec esi
jne 0x43f060
pop edi
test edx, edx
je 0x43f13a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4f5250]
inc ecx
dec edx
jne 0x43f121
not eax
pop esi
pop ebp
ret

Function at 0x43f140
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 + 0x4f5250]
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 + 0x4f5250]
mov dword [edx + 8], ecx
ret

Function at 0x43f190
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 + 0x4f5250]
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 + 0x4f5250]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x43f8f0
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 0x43f92b
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 0x43f920
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 0x43f93c
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.004b4b70
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 0x43fb40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x43fb87
cmp byte [esi + 1], 0
je 0x43fb8f
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 0x43fba2
cmp byte [esi + 1], 0
je 0x43fb96
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 0x43fbaa
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x43fb61
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x43fbaa
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 0x43fbbc
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.004b13d7
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x43fbd9
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 0x43fced
jmp 0x43fbf9
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 0x43fc08
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 0x43fc1f
mov ebx, 0x404
cmp byte [esi], 0
je 0x43fc44
cmp byte [esi + 1], 0
je 0x43fced
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 0x43fc47
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebx
je 0x43fc70
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 0x43fc6b
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x43fc99
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x43fc81
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.004b4b70
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x43fced
lea eax, [ebx - 3]
test eax, eax
js 0x43fcdb
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x43fccf
cmp byte [eax + ecx + 1], 0x4b
jne 0x43fccf
cmp byte [eax + ecx + 2], 5
jne 0x43fccf
cmp byte [eax + ecx + 3], 6
je 0x43fcd5
test eax, eax
jns 0x43fcb0
jmp 0x43fcdb
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43fced
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x43fbf0
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b0ace
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
push edi
jne 0x4409f7
cmp dword [esi + 4], 0xffffffff
jne 0x4409f7
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 0x440996
sub eax, edx
sar eax, 1
movzx ecx, word [esi + eax*2 + 0x242]
cmp ecx, 0x5c
je 0x4409c2
cmp ecx, 0x2f
je 0x4409c2
mov dword [esi + eax*2 + 0x244], 0x2f
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
call fcn.0043f850
add esp, 4
test eax, eax
jne 0x4409dd
mov eax, dword [ebp + 8]
pop edi
pop ebp
ret 4
call fcn.0043fd10
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 0x441560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x5176f0]
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.0042aaf0
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 0x4415d2
mov edi, dword [edx + 4]
jmp 0x4415d6
mov edi, dword [esp + 0xc]
cmp eax, edi
jle 0x4415eb
lea eax, [esp + 8]
cmp eax, edx
je 0x4415e7
mov eax, dword [edx + 4]
jmp 0x4415eb
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.00438a40
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.004280d0
test al, al
je 0x4416b8
mov edi, dword [esi + 0x78]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x44169c
lea ecx, [ecx]
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x441690
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.004ae123
mov esp, ebp
pop ebp
ret 4
Function at 0x446660
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5176f0]
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 0x446820
mov edx, dword [ecx]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x4466c1
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 0x4466d3
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 0x4466e8
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.0x446731.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x446703
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x44670a
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x4466f2
cmp word [ebp - 0x1c], 0
je case.0x446731.3
movzx esi, byte [ecx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x446731.3
movzx esi, byte [esi + 0x446844]
jmp dword [esi*4 + 0x446830]
mov ecx, dword [ecx + 4]
test ecx, ecx
je case.0x446731.3
mov dl, byte [eax]
shr dl, 1
and dl, 0x55
mov byte [eax], dl
inc eax
dec ecx
jne 0x446743
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae123
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.0x446731.3
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x446786
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae123
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.0x446731.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 0x4467b4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae123
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.0x446731.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 0x4467e7
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004ae123
mov esp, ebp
pop ebp
ret
Function at 0x4467d9
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5176f0]
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 0x446820
mov edx, dword [ecx]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x4466c1
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 0x4466d3
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 0x4466e8
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.0x446731.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x446703
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x44670a
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x4466f2
cmp word [ebp - 0x1c], 0
je case.0x446731.3
movzx esi, byte [ecx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x446731.3
movzx esi, byte [esi + 0x446844]
jmp dword [esi*4 + 0x446830]
mov ecx, dword [ecx + 4]
test ecx, ecx
je case.0x446731.3
mov dl, byte [eax]
shr dl, 1
and dl, 0x55
mov byte [eax], dl
inc eax
dec ecx
jne 0x446743
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae123
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.0x446731.3
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x446786
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae123
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.0x446731.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 0x4467b4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae123
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.0x446731.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 0x4467e7
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004ae123
mov esp, ebp
pop ebp
ret