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

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xec]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xec]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xe0]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe0]
mov edx, dword [edx]
mov eax, dword [edx + 0x14]
call eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x118]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xe8]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, 1
test ecx, ecx
je 0x40f38d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xf0]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xf0]
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
jmp 0x40f3d1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xf0]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xf0]
mov edx, dword [edx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xf4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xf4]
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
call eax
push 0x3e8
push 0x186a2
mov edi, dword [ebp - 4]
call fcn.004162b0
push 0x1b8
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xf8]
call fcn.0040f5f0
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40fb90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40fbc5
push 5
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esp, ebp
pop ebp
ret

Function at 0x40fbd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40fbf5
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x411d10
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jns 0x411d28
mov esi, 8
push 2
call edi
test ax, ax
jns 0x411d34
or esi, 1
push 1
call edi
test ax, ax
jns 0x411d40
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x411d4c
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x411d58
or esi, 0x20
pop edi
mov ax, si
pop esi
ret
Function at 0x413e60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebx + 0x78]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor eax, eax
push 0x11
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
xor esi, esi
call edi
test ax, ax
jns 0x413ea6
mov esi, 8
push 2
call edi
test ax, ax
jns 0x413eb2
or esi, 1
push 1
call edi
test ax, ax
jns 0x413ebe
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x413eca
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x413ed6
or esi, 0x20
lea edx, [ebp - 0x18]
mov eax, ebx
mov word [ebp - 0xa], si
call fcn.004153f0
mov eax, dword [ebx + 0x78]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x413f00
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 0x413f42
mov esi, 8
push 2
call edi
test ax, ax
jns 0x413f4e
or esi, 1
push 1
call edi
test ax, ax
jns 0x413f5a
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x413f66
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x413f72
or esi, 0x20
mov eax, dword [0x52a8c0]
mov word [ebp - 0xa], si
test eax, eax
je 0x413f91
lea edx, [ebp - 0x18]
call fcn.004153f0
mov dword [0x52a8c0], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x413fa0
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 0x413fdc
mov esi, 8
push 2
call edi
test ax, ax
jns 0x413fe8
or esi, 1
push 1
call edi
test ax, ax
jns 0x413ff4
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x414000
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x41400c
or esi, 0x20
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
mov word [ebp - 0xe], si
call fcn.004153f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414030
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebx + 0x78]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor eax, eax
push 0x11
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
xor esi, esi
call edi
test ax, ax
jns 0x414076
mov esi, 8
push 2
call edi
test ax, ax
jns 0x414082
or esi, 1
push 1
call edi
test ax, ax
jns 0x41408e
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x41409a
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4140a6
or esi, 0x20
lea edx, [ebp - 0x18]
mov eax, ebx
mov word [ebp - 0xa], si
call fcn.004153f0
mov eax, dword [ebx + 0x78]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4140d0
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 0x414112
mov esi, 8
push 2
call edi
test ax, ax
jns 0x41411e
or esi, 1
push 1
call edi
test ax, ax
jns 0x41412a
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x414136
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x414142
or esi, 0x20
mov eax, dword [0x52a8c0]
mov word [ebp - 0xa], si
test eax, eax
je 0x414161
lea edx, [ebp - 0x18]
call fcn.004153f0
mov dword [0x52a8c0], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x414170
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 0x4141b4
mov esi, 8
push 2
call edi
test ax, ax
jns 0x4141c0
or esi, 1
push 1
call edi
test ax, ax
jns 0x4141cc
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4141d8
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4141e4
or esi, 0x20
mov word [ebp - 0xe], si
mov esi, dword [0x52a8cc]
test esi, esi
je 0x41420a
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call edx
test eax, eax
jne 0x41420a
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4141f2
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x414220
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 0x414264
mov esi, 8
push 2
call edi
test ax, ax
jns 0x414270
or esi, 1
push 1
call edi
test ax, ax
jns 0x41427c
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x414288
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x414294
or esi, 0x20
mov ecx, dword [0x52a8cc]
mov word [ebp - 0xe], si
test ecx, ecx
je 0x4142ad
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 0x429210
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x429217
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x4292ed
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50d7f0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50d7f0]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50d7f0]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50d7f0]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50d7f0]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50d7f0]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50d7f0]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50d7f0]
add ecx, 8
sub edx, 8
dec esi
jne 0x429230
pop edi
test edx, edx
je 0x42930a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x50d7f0]
inc ecx
dec edx
jne 0x4292f1
not eax
pop esi
ret

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

Function at 0x429360
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 + 0x50d7f0]
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 + 0x50d7f0]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret

Function at 0x429ab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x429ae6
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 0x429adc
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x429af7
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.00463c90
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret
Function at 0x429b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x429b53
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x429b4e
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x429b7e
mov eax, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x429b65
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x14]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.00463c90
add esp, 0xc
add ebx, edi
mov dword [esi + 0x1c], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x429b93
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x429b8d
cmp byte [esi + 8], 0
je 0x429b8d
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x429cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x429d17
cmp byte [esi + 1], 0
je 0x429d1f
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 0x429d32
cmp byte [esi + 1], 0
je 0x429d26
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 0x429d3a
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x429cf1
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x429d3a
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 0x429d4c
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.00460cd3
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x429d69
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 0x429e7d
jmp 0x429d89
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 0x429d98
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 0x429daf
mov ebx, 0x404
cmp byte [esi], 0
je 0x429dd4
cmp byte [esi + 1], 0
je 0x429e7d
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 0x429dd7
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebx
je 0x429e00
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 0x429dfb
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x429e29
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x429e11
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.00463c90
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x429e7d
lea eax, [ebx - 3]
test eax, eax
js 0x429e6b
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x429e5f
cmp byte [eax + ecx + 1], 0x4b
jne 0x429e5f
cmp byte [eax + ecx + 2], 5
jne 0x429e5f
cmp byte [eax + ecx + 3], 6
je 0x429e65
test eax, eax
jns 0x429e40
jmp 0x429e6b
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x429e7d
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x429d80
mov eax, dword [ebp - 0x10]
push eax
call fcn.00460c99
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42acf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
push edi
jne 0x42ad77
cmp dword [esi + 4], 0xffffffff
jne 0x42ad77
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 0x42ad16
sub eax, edx
sar eax, 1
movzx ecx, word [esi + eax*2 + 0x242]
cmp ecx, 0x5c
je 0x42ad42
cmp ecx, 0x2f
je 0x42ad42
mov dword [esi + eax*2 + 0x244], 0x2f
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
call fcn.00429a10
add esp, 4
test eax, eax
jne 0x42ad5d
mov eax, dword [ebp + 8]
pop edi
pop ebp
ret 4
call fcn.00429ea0
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 0x42b9d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x5246f0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, ecx
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.00414cc0
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 0x42ba41
mov edi, dword [edx + 4]
jmp 0x42ba45
mov edi, dword [esp + 0xc]
cmp eax, edi
jle 0x42ba5a
lea eax, [esp + 8]
cmp eax, edx
je 0x42ba56
mov eax, dword [edx + 4]
jmp 0x42ba5a
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.00422cd0
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.004121a0
test al, al
je 0x42bb28
mov edi, dword [esi + 0x78]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x42bb0c
lea esp, [esp]
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x42bb00
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.0045f522
mov esp, ebp
pop ebp
ret
Function at 0x430b10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5246f0]
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 0x430cd0
mov edx, dword [ecx]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x430b71
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 0x430b83
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 0x430b98
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.0x430be1.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x430bb3
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x430bba
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x430ba2
cmp word [ebp - 0x1c], 0
je case.0x430be1.3
movzx esi, byte [ecx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x430be1.3
movzx esi, byte [esi + 0x430cf4]
jmp dword [esi*4 + 0x430ce0]
mov ecx, dword [ecx + 4]
test ecx, ecx
je case.0x430be1.3
mov dl, byte [eax]
shr dl, 1
and dl, 0x55
mov byte [eax], dl
inc eax
dec ecx
jne 0x430bf3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f522
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.0x430be1.3
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x430c36
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f522
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.0x430be1.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 0x430c64
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f522
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.0x430be1.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 0x430c97
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f522
mov esp, ebp
pop ebp
ret
Function at 0x436ef0
Capabilities:
Terminate process

Disassembly:
test eax, eax
jne 0x436ef9
mov eax, str.undefined
push eax
push str.libpng_error:__s
call fcn.00461eef
add eax, 0x40
push eax
call fcn.004620a4
add esp, 0xc
push 0x5134cc
call fcn.00461eef
add eax, 0x40
push eax
call fcn.004620a4
add esp, 8
test esi, esi
je 0x436f39
mov eax, dword [esi + 0x40]
test eax, eax
je 0x436f39
push 1
push esi
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x43c720
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x43c72b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.0043c740
Function at 0x443a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db2f3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5246f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi], vtable.TiXmlNode.0
call fcn.00404d30
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x44]
mov dword [esi], vtable.TiXmlElement.0
or eax, 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0x14]
mov dword [edi + 0xc], ebx
mov dword [edi], vtable.TiXmlAttribute.0
call fcn.00404d30
lea ecx, [edi + 0x30]
call fcn.00404d30
mov dword [edi + 0x10], ebx
mov dword [edi + 0x50], edi
mov dword [edi + 0x4c], edi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
call fcn.00405380
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8