joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428910
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x428920
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x429750
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 0x42979a
mov esi, 8
push 2
call edi
test ax, ax
jns 0x4297a6
or esi, 1
push 1
call edi
test ax, ax
jns 0x4297b2
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4297be
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4297ca
or esi, 0x20
lea edx, [ebp - 0x1c]
mov eax, ebx
mov word [ebp - 0xe], si
call fcn.0042aca0
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 0x4297f0
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 0x429832
mov esi, 8
push 2
call edi
test ax, ax
jns 0x42983e
or esi, 1
push 1
call edi
test ax, ax
jns 0x42984a
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429856
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429862
or esi, 0x20
mov eax, dword [0x607994]
mov word [ebp - 0xa], si
test eax, eax
je 0x429881
lea edx, [ebp - 0x18]
call fcn.0042aca0
mov dword [0x607994], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x429890
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 0x4298cc
mov esi, 8
push 2
call edi
test ax, ax
jns 0x4298d8
or esi, 1
push 1
call edi
test ax, ax
jns 0x4298e4
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4298f0
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4298fc
or esi, 0x20
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
mov word [ebp - 0xe], si
call fcn.0042aca0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429920
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 0x42996a
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429976
or esi, 1
push 1
call edi
test ax, ax
jns 0x429982
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x42998e
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x42999a
or esi, 0x20
lea edx, [ebp - 0x1c]
mov eax, ebx
mov word [ebp - 0xe], si
call fcn.0042aca0
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 0x4299c0
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 0x429a02
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429a0e
or esi, 1
push 1
call edi
test ax, ax
jns 0x429a1a
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429a26
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429a32
or esi, 0x20
mov eax, dword [0x607994]
mov word [ebp - 0xa], si
test eax, eax
je 0x429a51
lea edx, [ebp - 0x18]
call fcn.0042aca0
mov dword [0x607994], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x429a60
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 0x429aa4
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429ab0
or esi, 1
push 1
call edi
test ax, ax
jns 0x429abc
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429ac8
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429ad4
or esi, 0x20
mov word [ebp - 0xe], si
mov esi, dword [0x6079a0]
test esi, esi
je 0x429afa
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call edx
test eax, eax
jne 0x429afa
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x429ae2
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x429b10
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 0x429b54
mov esi, 8
push 2
call edi
test ax, ax
jns 0x429b60
or esi, 1
push 1
call edi
test ax, ax
jns 0x429b6c
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x429b78
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x429b84
or esi, 0x20
mov ecx, dword [0x6079a0]
mov word [ebp - 0xe], si
test ecx, ecx
je 0x429b9d
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 0x431dc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57bfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x600f84]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x600f84]
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 0x431f5e
cmp word [esi], 0
je 0x431f5e
push 8
push str._string_
push esi
call fcn.00555722
add esp, 0xc
test eax, eax
jne 0x431f5e
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404af0
lea eax, [esp + 0x14]
lea ebx, [edi + 0x1c]
push eax
lea esi, [esp + 0x3c]
mov eax, ebx
mov dword [esp + 0x84], 0
call fcn.00434610
mov ecx, esi
mov dword [esp + 0x80], 0xffffffff
call fcn.004042a0
mov ecx, dword [ebx + 4]
mov dword [esp + 0x18], ecx
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041b1a0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
je 0x431e8e
lea ecx, [eax + 0x28]
call fcn.004041f0
jmp 0x431f60
mov edi, dword [edi + 4]
test edi, edi
jne 0x431e9e
mov eax, dword [esp + 0x10]
jmp 0x431f60
mov eax, edi
call fcn.004275d0
mov edi, str.item
call fcn.004309d0
mov edi, eax
test edi, edi
je 0x431f5a
lea esp, [esp]
push 0x5de2ac
lea esi, [edi + 0x44]
push esi
call fcn.0045ae70
test eax, eax
je 0x431f49
lea ecx, [eax + 0x30]
call fcn.00416420
mov dword [esp + 0x14], eax
test eax, eax
je 0x431f49
push str.value
push esi
call fcn.0045ae70
test eax, eax
je 0x431f49
lea ecx, [eax + 0x30]
call fcn.00416420
mov esi, eax
test esi, esi
je 0x431f49
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
call fcn.00453880
mov eax, dword [esp + 0x10]
add eax, 0x10
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x84], 1
call fcn.004041f0
push eax
call fcn.00552b56
add esp, 8
test eax, eax
je 0x431f7e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x80], 0xffffffff
call fcn.004042a0
mov eax, edi
call fcn.004275a0
mov edi, eax
test edi, edi
jne 0x431ec0
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.005521f1
mov esp, ebp
pop ebp
ret
mov edx, esi
lea ecx, [esp + 0x54]
call fcn.00453880
push eax
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
mov byte [esp + 0x8c], 2
call fcn.00434200
add esp, 4
mov ecx, eax
call fcn.00402670
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 1
call fcn.004042a0
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.00434200
mov ecx, eax
call fcn.004041f0
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004042a0
jmp 0x431f5e
Function at 0x43ea80
Capabilities:
Encode data using xor
Hash data with crc32

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

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

Function at 0x43ebd0
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 + 0x5d5120]
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 + 0x5d5120]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x43f330
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 0x43f36b
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 0x43f360
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 0x43f37c
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.005580e0
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 0x43f580
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x43f5c7
cmp byte [esi + 1], 0
je 0x43f5cf
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 0x43f5e2
cmp byte [esi + 1], 0
je 0x43f5d6
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 0x43f5ea
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x43f5a1
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x43f5ea
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 0x43f5fc
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.005554d5
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x43f619
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 0x43f72d
jmp 0x43f639
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 0x43f648
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 0x43f65f
mov ebx, 0x404
cmp byte [esi], 0
je 0x43f684
cmp byte [esi + 1], 0
je 0x43f72d
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 0x43f687
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebx
je 0x43f6b0
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 0x43f6ab
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x43f6d9
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x43f6c1
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.005580e0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x43f72d
lea eax, [ebx - 3]
test eax, eax
js 0x43f71b
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x43f70f
cmp byte [eax + ecx + 1], 0x4b
jne 0x43f70f
cmp byte [eax + ecx + 2], 5
jne 0x43f70f
cmp byte [eax + ecx + 3], 6
je 0x43f715
test eax, eax
jns 0x43f6f0
jmp 0x43f71b
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43f72d
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x43f630
mov eax, dword [ebp - 0x10]
push eax
call fcn.00554bce
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4403b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
push edi
jne 0x440437
cmp dword [esi + 4], 0xffffffff
jne 0x440437
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 0x4403d6
sub eax, edx
sar eax, 1
movzx ecx, word [esi + eax*2 + 0x242]
cmp ecx, 0x5c
je 0x440402
cmp ecx, 0x2f
je 0x440402
mov dword [esi + eax*2 + 0x244], 0x2f
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
call fcn.0043f290
add esp, 4
test eax, eax
jne 0x44041d
mov eax, dword [ebp + 8]
pop edi
pop ebp
ret 4
call fcn.0043f750
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 0x440fa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x600f84]
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.0042a5a0
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 0x441012
mov edi, dword [edx + 4]
jmp 0x441016
mov edi, dword [esp + 0xc]
cmp eax, edi
jle 0x44102b
lea eax, [esp + 8]
cmp eax, edx
je 0x441027
mov eax, dword [edx + 4]
jmp 0x44102b
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.004384c0
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.00427b60
test al, al
je 0x4410f8
mov edi, dword [esi + 0x78]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x4410dc
lea ecx, [ecx]
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x4410d0
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.005521f1
mov esp, ebp
pop ebp
ret 4
Function at 0x4460a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x600f84]
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 0x446260
mov edx, dword [ecx]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x446101
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 0x446113
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 0x446128
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.0x446171.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x446143
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x44614a
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x446132
cmp word [ebp - 0x1c], 0
je case.0x446171.3
movzx esi, byte [ecx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x446171.3
movzx esi, byte [esi + 0x446284]
jmp dword [esi*4 + 0x446270]
mov ecx, dword [ecx + 4]
test ecx, ecx
je case.0x446171.3
mov dl, byte [eax]
shr dl, 1
and dl, 0x55
mov byte [eax], dl
inc eax
dec ecx
jne 0x446183
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
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.0x446171.3
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x4461c6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
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.0x446171.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 0x4461f4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
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.0x446171.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 0x446227
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005521f1
mov esp, ebp
pop ebp
ret
Function at 0x446219
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x600f84]
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 0x446260
mov edx, dword [ecx]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x446101
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 0x446113
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 0x446128
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.0x446171.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x446143
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x44614a
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x446132
cmp word [ebp - 0x1c], 0
je case.0x446171.3
movzx esi, byte [ecx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x446171.3
movzx esi, byte [esi + 0x446284]
jmp dword [esi*4 + 0x446270]
mov ecx, dword [ecx + 4]
test ecx, ecx
je case.0x446171.3
mov dl, byte [eax]
shr dl, 1
and dl, 0x55
mov byte [eax], dl
inc eax
dec ecx
jne 0x446183
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
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.0x446171.3
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x4461c6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
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.0x446171.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 0x4461f4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
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.0x446171.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 0x446227
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005521f1
mov esp, ebp
pop ebp
ret