joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ff70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8d55
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
sub esp, 0x18
mov dword [ebp - 0x30], edi
mov ecx, esp
push 0xc
push 0x518ddc
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004014e0
mov ecx, edi
call fcn.0041b290
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edi], vtable.SetupWnd.1.0
mov dword [edi + 4], vtable.SetupWnd.0
mov dword [edi + method.SetupWnd.2.virtual_0], vtable.SetupWnd.2.0
mov dword [edi + 0x21c], 0
mov dword [edi + 0x22c], 0
mov dword [edi + 0x230], 7
mov word [edi + 0x21c], ax
mov dword [edi + 0x234], eax
mov dword [edi + 0x244], eax
mov dword [edi + 0x248], 7
mov word [edi + 0x234], ax
mov dword [edi + 0x24c], eax
mov dword [edi + 0x25c], eax
mov dword [edi + 0x260], 7
mov word [edi + 0x24c], ax
mov dword [edi + 0x268], eax
mov dword [edi + 0x26c], eax
mov dword [edi + 0x270], eax
push 3
mov byte [ebp - 4], 4
call fcn.00477950
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410090
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004014e0
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp ebx, 8
mov edx, dword [ebp - 0x18]
push 2
push 0x518df8
cmovae ecx, esi
push 0
call fcn.004064c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4100f7
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 2
cmp ebx, 8
push 0x518e00
cmovae ecx, esi
push 0
call fcn.004064c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4100f7
xor al, al
jmp 0x4100f9
mov al, 1
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 7
cmp ebx, 8
mov byte [edi + 0x264], al
push str._update
cmovae ecx, esi
push 0
call fcn.004064c0
add esp, 0xc
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x266], al
cmp ebx, 8
jb 0x410158
lea ecx, [ebx*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x41014e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410176
push ecx
push esi
call fcn.00476a87
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00476a44
mov esp, ebp
pop ebp
ret
call fcn.004ca66d
int3
Function at 0x417910
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f973d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x530010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.UIRefObj.0
mov dword [esi + 4], 1
mov dword [ebp - 4], 0
mov dword [esi], vtable.UIControl.0
call fcn.0041f340
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [ebx + 0x18]
push edi
lea ecx, [ebx + 0x1c]
call fcn.0041f3f0
push ebx
mov dword [eax], esi
mov esi, dword [edi]
lea eax, [esi + 1]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [ebx + 0xc], esi
lea esi, [ebx + 0x10]
push esi
call edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 0xc], 0
lea esi, [ebx + 0x20]
push esi
call edi
mov dword [esi + 4], 0
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 0xc], 0
mov dword [ebx + 0x30], 0
mov word [ebx + 0x30], ax
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x58], eax
mov word [ebx + 0x48], ax
mov dword [ebx + 0x5c], 7
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x70], eax
mov word [ebx + 0x60], ax
mov dword [ebx + 0x74], 7
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa0], eax
mov al, byte [ebx + 0xa5]
mov byte [ebx + 0xa4], 0x1c
and al, 0x84
mov dword [ebx + 0xa8], 0x7f00
or al, 4
mov byte [ebx + 0xa5], al
xor eax, eax
mov dword [ebx + 0xac], 0
mov word [ebx + 0xac], ax
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 7
mov dword [ebx + 0xc4], eax
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0xd0], eax
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xd8], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b7d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x41b7f5
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x20]
push 0
push 0
push 0
push eax
mov dword [esi + 0x1ac], 1
call ebx
test eax, eax
je 0x41b848
cmp dword [ebp - 0x1c], 0x12
je 0x41b848
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esi + 0x1ac], 0
je 0x41b848
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
jne 0x41b815
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
test edi, edi
je 0x41b862
push edi
call ebx
test eax, eax
je 0x41b862
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x160]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x160]
test eax, eax
je 0x41b88d
push eax
call ebx
test eax, eax
je 0x41b88d
push dword [esi + 0x160]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476a44
mov esp, ebp
pop ebp
ret 4
Function at 0x41e350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, esi
push edi
push 0x12
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x41e396
lea eax, [esi - 0x61]
cmp eax, 0x19
lea esi, [ebx - 0x20]
lea ecx, [edi + 0xec]
cmova esi, ebx
push esi
call fcn.004305c0
test eax, eax
jne 0x41e437
mov eax, dword [edi + 0xec]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
test eax, eax
je 0x41e430
call fcn.0041f340
mov ebx, eax
xor eax, eax
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
lea ecx, [ebx + 0x1c]
push eax
call fcn.0041f4b0
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 0xd], 0
jne 0x41e429
mov eax, dword [ebp - 0x10]
cmp eax, dword [ecx + 0x10]
jb 0x41e429
cmp ecx, dword [ebx + 0x1c]
je 0x41e3e9
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41e430
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push esi
push dword [ebp + 8]
call fcn.00419910
mov eax, dword [ebp - 0xc]
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00476a44
mov esp, ebp
pop ebp
ret 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476a44
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4243c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push dword [ebx]
push 1
push dword [ebx + 8]
push edi
call fcn.004d8e3b
mov esi, dword [ebx + 8]
mov ecx, eax
add esp, 0x10
cmp ecx, 1
sete al
mov byte [ebp - 1], al
mov eax, esi
cdq
idiv dword [ebx + 0x18]
mov dword [ebx + 0x1c], eax
cmp ecx, 1
jne 0x424545
add dword [ebx + 0x14], esi
cmp dword [ebx + 0x4c], 8
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x38]
push ecx
mov ecx, esp
jb 0x424412
mov eax, dword [eax]
mov dword [ecx], eax
mov edx, 0x18
push ecx
mov eax, esp
lea ecx, [ebx + 0x20]
mov dword [eax], 0x51ce20
call fcn.004228a0
mov eax, dword [ebx + 0x1c]
add esp, 0x10
mov edx, dword [ebx + 0x18]
xor ecx, ecx
mov dword [ebp - 8], 0
mov esi, edi
mov dword [ebp - 0x10], edx
test eax, eax
je 0x4244f8
mov edi, edx
jmp 0x424456
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0xc], eax
cmp edx, 1
jne 0x424465
xor edx, edx
cmp byte [esi], dl
jmp 0x42446a
xor edx, edx
cmp word [esi], dx
sete dl
mov eax, edi
test edx, edx
je 0x42449f
test ecx, ecx
je 0x424493
cmp esi, ecx
je 0x424493
imul edi, dword [ebp - 8]
mov eax, esi
sub eax, ecx
push eax
push ecx
sub ecx, edi
push ecx
call fcn.004c5f20
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov edx, dword [ebp - 8]
lea ecx, [eax + esi]
inc edx
mov dword [ebp - 8], edx
jmp 0x4244a2
mov edx, dword [ebp - 8]
add esi, eax
mov edi, eax
cmp dword [ebp - 0xc], 0
jne 0x424450
test ecx, ecx
je 0x4244c6
cmp esi, ecx
je 0x4244c6
sub esi, ecx
imul eax, edx
push esi
push ecx
sub ecx, eax
push ecx
call fcn.004c5f20
add esp, 0xc
mov esi, dword [ebp - 8]
test esi, esi
je 0x4244f5
push 0xffffffffffffffff
push esi
push ecx
mov eax, esp
mov edx, 1
push ecx
lea ecx, [ebx + 0x20]
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.nulls_removed
call fcn.004228a0
add esp, 0x10
sub dword [ebx + 0x1c], esi
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x18], 1
jle 0x424545
test byte [ebx + 4], 0x80
je 0x424545
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x424522
nop dword [eax + eax]
movzx eax, word [edi + ecx*2 - 2]
dec ecx
rol ax, 8
mov word [edi + ecx*2], ax
test ecx, ecx
jne 0x424510
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov eax, esp
xor edx, edx
push ecx
lea ecx, [ebx + 0x20]
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.endian_swap
call fcn.004228a0
add esp, 0x10
mov al, byte [ebp - 1]
test al, al
jne 0x424556
mov ecx, ebx
call fcn.004240e0
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42c620
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ecx + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
push 0x51ed0c
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esi + 0x88]
push edi
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476a44
mov esp, ebp
pop ebp
ret 8
Function at 0x432510
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fac8d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esi + 8], edi
mov cl, byte [edi + 0xa4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
test cl, 8
jne 0x432564
mov eax, 0x70
jmp 0x432589
mov eax, dword [edi + 0xa0]
test al, 6
jne 0x432584
test cl, 1
jne 0x432584
test al, 1
mov ecx, 0x40
mov eax, 0x28
cmovne eax, ecx
jmp 0x432589
mov eax, 0x58
add eax, esi
lea ecx, [ebp - 0x28]
push eax
call fcn.00406340
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
mov ecx, dword [edi + 0x88]
je 0x4325b6
test ecx, ecx
je 0x4325c5
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
call dword [eax + 0x60]
jmp 0x4325d2
test ecx, ecx
je 0x4325c5
mov edx, dword [ecx]
lea eax, [esi + 0x28]
push eax
call dword [edx + 0x60]
jmp 0x4325d2
push str.GetFont_error_r_b
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov dword [esi + 0xc], eax
mov cl, byte [edi + 0xa4]
test cl, 8
jne 0x4325e7
mov ecx, 0x24
jmp 0x432609
mov eax, dword [edi + 0xa0]
test al, 6
jne 0x432604
test cl, 1
jne 0x432604
movzx ecx, al
and ecx, 1
or ecx, 6
shl ecx, 2
jmp 0x432609
mov ecx, 0x20
movzx eax, byte [esi + 0x10]
push eax
push dword [esi + 0x14]
push dword [esi + 0x9c]
push dword [esi + 0x98]
push dword [ecx + esi]
mov ecx, esi
push dword [esi + 0xc]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push ebx
call fcn.00432690
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x432667
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43265d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432685
push edx
push ecx
call fcn.00476a87
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00476a44
mov esp, ebp
pop ebp
ret 0x10
call fcn.004ca66d
int3
Function at 0x434280
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x4342d1
push ebx
mov ebx, dword [esi + 0xa0]
shr ebx, 3
push eax
not bl
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne al
and bl, 1
pop ebx
je 0x4342bf
test al, al
jne 0x4342d1
push 5
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
test al, al
je 0x4342d1
push 0
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x434bf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0xc0]
jne 0x434cd3
mov eax, dword [ebp + 0xc]
cmp eax, 8
jne 0x434c53
push 0
mov dword [edi + 0xc0], 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xc0], 0
mov dword [eax], 0
cmp dword [edi + 0xc0], 0
je 0x434cad
mov dword [edi + 0xc0], ebx
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x102
jne 0x434ca6
cmp word [ebp + 0x10], 0x1b
mov dword [edi + 0xc0], 1
jne 0x434c78
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x434c82
mov dword [edi + 0xc0], 0
mov esi, dword [ebp + 0x18]
mov dword [esi], 0
cmp dword [edi + 0xc0], 0
je 0x434cab
mov dword [edi + 0xc0], ebx
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
mov eax, dword [ebp + 0x18]
jmp 0x434cad
mov eax, esi
mov esi, dword [edi + 0x10]
push 0
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
lea ecx, [edi - 0x15c]
call fcn.0040eca0
mov dword [edi + 0x10], esi
test eax, eax
jne 0x434c41
mov dword [edi + 0xc0], ebx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x434f70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x220], ebx
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x18]
sub eax, dword [ebx + 0x10]
push eax
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [ebx + 0x78], 0
lea esi, [ebx + 0x78]
mov eax, ebx
je 0x434fd0
push dword [eax + 0x14]
push dword [eax + 0x10]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi]
cmp dword [eax + 0x78], 0
lea esi, [eax + 0x78]
jne 0x434fb5
mov ecx, dword [ebx + 0x88]
test ecx, ecx
jne 0x434fde
xor eax, eax
jmp 0x434fe3
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
mov dword [ebp - 0x44], ecx
mov ecx, ebx
call dword [eax + 0x88]
push 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [ebp - 0x3c]
lea ecx, [edx + esi]
cmp ecx, dword [ebp - 0x2c]
jle 0x43503c
mov esi, dword [ebp - 0x24]
sub esi, edx
mov eax, dword [edi + 0x160]
test eax, eax
jne 0x4350a6
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x435058
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [ebp - 0x3c]
or dword [edi + 0x1a8], 2
push eax
push edx
push dword [ebp - 0x40]
push esi
push dword [ebp - 0x44]
push ecx
push 0x90000000
push ecx
lea ecx, [edi + 0x15c]
call fcn.0041e860
mov eax, dword [edi + 0x160]
test eax, eax
je 0x4350a3
push 0
push 0
push 0
lea ecx, [edi + 4]
call fcn.00419880
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
push 0
call dword [eax + 0x4c]
mov eax, dword [edi + 0x160]
push eax
jmp 0x4350bd
push 1
push edx
push dword [ebp - 0x40]
push esi
push dword [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [edi + 0x160]
call dword [sym.imp.USER32.dll_IsWindow]
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0x160]
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
call eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x240]
sub eax, 4
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
sub eax, 4
push eax
push 2
push 2
call fcn.004192f0
mov ecx, edi
call fcn.004351d0
push 5
push dword [edi + 0x160]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
push 0
call dword [eax + 0x4c]
push dword [edi + 0x160]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476a44
mov esp, ebp
pop ebp
ret 4
Function at 0x438d80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x532460], ecx
inc eax
cmp eax, 0x100
jb 0x438d95
cmp eax, 0x800
jae 0x438e63
nop dword [eax]
mov edx, dword [eax*4 + 0x532060]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x532460]
mov dword [eax*4 + 0x532460], edx
inc eax
cmp eax, 0x800
jb 0x438e40
lea ecx, [ebp - 0x24]
mov dword [0x532400], 0x439b50
call fcn.00439c50
test eax, eax
je 0x438f1b
mov edi, dword [ebp - 0x14]
xor ecx, ecx
mov esi, edi
mov eax, 0x530bc4
shr esi, 8
shr edi, 4
and esi, 0xff00f
and edi, 0xf00f
xor edx, edx
nop dword [eax]
mov ebx, dword [ebp - 0x20]
cmp dword [eax - 8], ebx
jne 0x438eb7
mov ebx, dword [ebp - 0x1c]
cmp dword [eax - 4], ebx
mov ebx, dword [ebp - 0x18]
jne 0x438eb7
cmp dword [eax], ebx
je 0x438ed4
add edx, 0xc
inc ecx
add eax, 0xc
cmp edx, 0x24
jb 0x438ea0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00476a44
mov esp, ebp
pop ebp
ret
sub ecx, 0
je 0x438f02
sub ecx, 1
je 0x438ef1
sub ecx, 1
jne 0x438f1b
cmp esi, 6
jb 0x438f1b
jne 0x438f11
cmp edi, 0xf
jb 0x438f1b
jmp 0x438f11
cmp esi, 5
jb 0x438f1b
jne 0x438f11
cmp edi, 6
jb 0x438f1b
cmp edi, 0xa
jmp 0x438f0f
cmp esi, 6
jb 0x438f1b
jne 0x438f11
cmp edi, 0x100c
je 0x438f1b
mov dword [0x532400], 0x439bf0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476a44
mov esp, ebp
pop ebp
ret
Function at 0x43b970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x43b992
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [edx - 4]
mov dword [ebp - 4], 0xffffffff
add ebx, ecx
mov dword [ebp - 0x10], ebx
lea edx, [edi + ecx]
cmp edx, ebx
jae 0x43b9bd
nop dword [eax]
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x43b9bd
inc edx
cmp edx, ebx
jb 0x43b9b0
mov edi, edx
sub edi, ecx
mov ecx, edi
sub ecx, dword [ebp - 4]
cmp edx, ebx
jae 0x43babe
cmp ecx, 3
jbe 0x43b9f7
xor esi, esi
mov al, byte [edx + 4]
mov dword [ebp - 4], edi
test al, al
je 0x43ba32
cmp al, 0xff
je 0x43ba32
mov ecx, dword [ebp - 8]
and esi, 3
add esi, esi
mov eax, 1
or esi, 1
add edi, eax
jmp 0x43b9a2
dec ecx
shl esi, cl
and esi, 7
je 0x43b9d5
cmp byte [esi + 0x51728c], 0
je 0x43ba1e
movzx eax, byte [esi + 0x517294]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x43ba1e
cmp al, 0xff
jne 0x43b9d5
mov ecx, dword [ebp - 8]
and esi, 3
add esi, esi
mov dword [ebp - 4], edi
or esi, 1
inc edi
jmp 0x43b9a2
movzx ecx, byte [edx + 3]
movzx eax, al
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 1]
shl eax, 8
or eax, ecx
sub eax, edi
lea ebx, [eax - 5]
test esi, esi
je 0x43ba8d
movzx eax, byte [esi + 0x517294]
mov ecx, 0x18
shl eax, 3
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x43ba79
cmp al, 0xff
jne 0x43ba8d
mov ecx, 0x20
mov eax, 1
sub ecx, dword [ebp - 0xc]
shl eax, cl
dec eax
xor eax, ebx
jmp 0x43ba50
mov ecx, dword [ebp - 8]
mov eax, ebx
shr eax, 0x18
and al, 1
mov byte [edx + 1], bl
neg al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
mov byte [edx + 2], al
mov eax, 5
add edi, eax
jmp 0x43b9a2
pop ebx
cmp ecx, 3
jbe 0x43bad3
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
dec ecx
shl esi, cl
and esi, 7
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret