joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52999a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x5299aa
xor eax, eax
jmp 0x529b73
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x529b2b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x559efc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x559efc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x559efc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x559efc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x559efc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x559efc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x559efc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x559efc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x5299b3
cmp dword [ebp + 0x10], 0
je 0x529b6d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x559efc]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x529b31
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x5333b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5574d8
cmp edx, dword [eax]
je 0x5333d2
add eax, 8
inc ecx
cmp eax, 0x557568
jl 0x5333c3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5574d8]
jne 0x533500
mov eax, dword [0x55c740]
cmp eax, 1
je 0x5334da
test eax, eax
jne 0x533403
cmp dword [0x557214], 1
je 0x5334da
cmp edx, 0xfc
je 0x533500
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x53343a
lea eax, [ebp - 0x1a4]
push 0x55b318
push eax
call fcn.00531380
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00531530
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x53347d
lea eax, [ebp - 0x1a4]
push eax
call fcn.00531530
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x55b314
push edi
call fcn.005315b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x55b2f8
push eax
call fcn.00531380
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00531390
lea eax, [ebp - 0xa0]
push 0x55b2f4
push eax
call fcn.00531390
push dword [esi + 0x5574dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00531390
push 0x12010
lea eax, [ebp - 0xa0]
push 0x55b2cc
push eax
call fcn.00535978
add esp, 0x2c
pop edi
jmp 0x533500
lea eax, [ebp + 8]
lea esi, [esi + 0x5574dc]
push 0
push eax
push dword [esi]
call fcn.00531530
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x534770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdb000]
push edi
jmp 0x53478a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x534791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x534780
mov eax, 1
add ebx, ebx
jne 0x5347a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5347b4
jne 0x5347d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5347d3
dec eax
add ebx, ebx
jne 0x5347c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x534798
add ebx, ebx
jne 0x5347cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x534825
xor ecx, ecx
sub eax, 3
jb 0x5347eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53485a
sar eax, 1
mov ebp, eax
jmp 0x5347f6
add ebx, ebx
jne 0x5347f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5347c4
inc ecx
add ebx, ebx
jne 0x534804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5347c4
add ebx, ebx
jne 0x534811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x534806
jne 0x534822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x534806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x534844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x534836
jmp 0x534786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x534844
add edi, ecx
jmp 0x534786
pop esi
mov edi, esi
mov ecx, 0x3cf2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x534862
cmp byte [edi], 0x1e
jne 0x534862
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x534867
lea edi, [esi + 0x131000]
mov eax, dword [edi]
or eax, eax
je 0x5348df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x135e60]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x135f8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x534894
mov ecx, edi
jns 0x5348c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x135f90]
or eax, eax
je 0x5348d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5348b1
call dword [esi + 0x135fa0]
mov ebp, dword [esi + 0x135f94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x534913
sub esp, 0xffffff80
jmp 0x47025d
Function at 0x4e79c2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4e7a1f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x4e7a19
mov edx, dword [0x528830]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4e7a0d
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4e79f2
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x4e7a1b
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4e94d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4e953c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x4e9585
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.005024b0
add esp, 8
test eax, eax
jne 0x4e9583
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x4e9587
jmp 0x4e9533
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4f1e37
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004ebba7
add esp, 4
and eax, 0xff
test eax, eax
je 0x4f1ec0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.004fcbd0
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4f1ebe
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x4f1ebe
jmp 0x4f1ec0
jmp 0x4f1e40
mov esp, ebp
pop ebp
ret

Function at 0x4f21a3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x529428]
test eax, eax
jne 0x4f21b7
call fcn.004f20d4
xor ecx, ecx
mov cl, byte [0x529425]
test ecx, ecx
jne 0x4f223e
xor edx, edx
mov dl, byte [0x529424]
test edx, edx
jne 0x4f223e
cmp dword [0x529630], 0
je 0x4f2219
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x529630]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x529630]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x529630]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x4f223e
push 0x10001
push 0x529428
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4f223e
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x4f534a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4f535a
xor eax, eax
jmp 0x4f5523
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4f54db
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x526ee4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x526ee4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x526ee4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x526ee4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x526ee4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x526ee4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x526ee4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x526ee4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x4f5363
cmp dword [ebp + 0x10], 0
je 0x4f551d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x526ee4]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x4f54e1
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4fed60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x524518
cmp edx, dword [eax]
je 0x4fed82
add eax, 8
inc ecx
cmp eax, 0x5245a8
jl 0x4fed73
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x524518]
jne 0x4feeb0
mov eax, dword [0x5296b0]
cmp eax, 1
je 0x4fee8a
test eax, eax
jne 0x4fedb3
cmp dword [0x524254], 1
je 0x4fee8a
cmp edx, 0xfc
je 0x4feeb0
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4fedea
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004fcd30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004fcee0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4fee2d
lea eax, [ebp - 0x1a4]
push eax
call fcn.004fcee0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5282fc
push edi
call fcn.004fcf60
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004fcd30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004fcd40
lea eax, [ebp - 0xa0]
push 0x5282dc
push eax
call fcn.004fcd40
push dword [esi + 0x52451c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004fcd40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00501328
add esp, 0x2c
pop edi
jmp 0x4feeb0
lea eax, [ebp + 8]
lea esi, [esi + 0x52451c]
push 0
push eax
push dword [esi]
call fcn.004fcee0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40c7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43f5f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x458e40]
push esi
mov dword [esp + 0x20], eax
push edi
mov esi, ecx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov edx, dword [esp + 0x38]
mov eax, edx
mov dword [esp + 0x30], 0
lea edi, [eax + 1]
jmp 0x40c800
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c800
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x10]
call fcn.00403270
mov edi, dword [esi + 0xc]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x3c]
add esi, 8
push ecx
mov ecx, esi
call fcn.0040b9a0
cmp dword [eax], edi
je 0x40c885
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0040c6a0
mov ecx, dword [eax + 0x214]
test ecx, ecx
je 0x40c885
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0040c6a0
mov ecx, dword [eax + 0x210]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0040c6a0
mov eax, dword [eax + 0x20c]
push eax
call fcn.00433116
add esp, 4
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0040c130
cmp dword [esp + 0x20], 0x10
pop edi
pop esi
jb 0x40c89b
mov ecx, dword [esp + 4]
push ecx
call fcn.00433080
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1c]
call fcn.004332fd
add esp, 0x2c
ret 4

Function at 0x412c30
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x43f778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, dword [esi + 0x3830]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
lea edi, [esi + 0x382c]
push ecx
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.004226f0
cmp dword [eax], ebx
je 0x412ca5
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.00412b70
mov eax, dword [eax]
push 1
push 0x441b88
push eax
mov dword [esi + 0x2020], eax
call fcn.00434010
add esp, 0xc
test eax, eax
je 0x412cbb
add dword [esi + 0x2020], 2
jmp 0x412cbb
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x412cb4
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x38], 0x10
pop edi
pop esi
pop ebx
jb 0x412cd2
mov eax, dword [esp + 0x18]
push eax
call fcn.00433080
add esp, 4
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x414a60
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xb0
mov eax, dword [0x458e40]
push ebp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xbc]
test eax, eax
push esi
push edi
je 0x414b95
push ebx
call fcn.004149e0
mov eax, dword [0x461228]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [esp + 0xc4]
and eax, 0xc00000
cmp eax, 0xc00000
jne 0x414acf
xor eax, eax
push 0x46117c
mov ecx, 0xb
mov edi, 0x46117c
rep stosd dword es:[edi], eax
push ebx
mov dword [0x46117c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov ecx, dword [0x461228]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x80000000
push 0xfffffffffffffff0
push ecx
call esi
mov edx, dword [0x461228]
push 8
push 0xffffffffffffffec
push edx
call esi
mov eax, dword [0x461228]
push 0x60
push 0x258
push 0x320
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0xc
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push ebx
mov ebp, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
xor esi, esi
pop ebx
lea ecx, [esp + 0x1c]
push ecx
push esi
push 0
call edi
cmp dword [esp + 0x88], 0x320
jne 0x414b62
cmp dword [esp + 0x8c], 0x258
jne 0x414b62
cmp dword [esp + 0x84], ebp
je 0x414b6b
inc esi
cmp esi, 0x2800
jl 0x414b35
mov esi, dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
push 2
lea edx, [esp + 0x20]
push edx
call esi
test eax, eax
jne 0x414b87
push 4
lea eax, [esp + 0x20]
push eax
call esi
mov ecx, dword [0x461228]
push 0
push ecx
jmp 0x414c6c
mov edx, dword [0x461224]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call esi
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
mov eax, dword [0x461228]
push 9
push eax
call esi
mov ecx, dword [0x461228]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x63
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ecx
call esi
mov edx, dword [0x461228]
push 0xcf0000
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [0x461228]
push 0x63
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push eax
call esi
push 0x258
push 0x320
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [0x461228]
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 1
push 0xcf0000
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov eax, dword [0x461228]
push 0x62
sub ecx, ebp
push ecx
sub edx, edi
push edx
push 0
push 0
push 0xfffffffffffffffe
push eax
call esi
mov ecx, dword [0x46110c]
mov edx, dword [0x461228]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
mov eax, 1
pop ebp
call fcn.004332fd
add esp, 0xb0
ret
Function at 0x414f50
Capabilities:
Enumerate gui resources

Disassembly:
mov ecx, dword [0x59f500]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [0x59f500]
mov dword [ecx + 4], ecx
cmp eax, dword [0x59f500]
mov dword [0x59f504], 0
je 0x414f8e
push esi
mov esi, dword [eax]
push eax
call fcn.00433080
mov ecx, dword [0x59f500]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x414f76
pop esi
push 0
push 0x414e80
call dword [sym.imp.USER32.dll_EnumWindows]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x417c50
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x59f50c]
mov eax, dword [esi + 0x18]
inc ecx
xor ebx, ebx
test eax, eax
mov dword [esi + 0xc], 1
mov dword [0x59f50c], ecx
je 0x417c83
mov ebx, 1
mov dword [esp + 8], 0x48
jmp 0x417cda
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x417ccd
mov eax, dword [esi + 0x3390]
dec eax
je 0x417ccd
sub eax, 2
je 0x417cb9
dec eax
jne 0x417cd2
mov eax, dword [0x59f50c]
xor edx, edx
mov ecx, 6
div ecx
test edx, edx
jne 0x417d48
jmp 0x417cd2
mov eax, dword [0x59f50c]
xor edx, edx
mov ecx, 3
div ecx
test edx, edx
jne 0x417d48
jmp 0x417cd2
mov ebx, 1
mov dword [esp + 8], 0x46
mov eax, dword [esi + 0x37bc]
push edi
lea edx, [esp + 0xc]
push edx
push ebx
push 0x12
push eax
lea edi, [esi + 0x2290]
push edi
call fcn.0040fcf0
mov ecx, eax
call fcn.00411850
push 0x12
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.0040fcf0
mov ecx, eax
call fcn.00411500
mov edx, dword [eax]
mov dword [esi + 0x2054], edx
mov eax, dword [eax + 4]
push edi
mov dword [esi + 0x2058], eax
call fcn.0040fcf0
mov ecx, eax
call fcn.00410070
test eax, eax
pop edi
je 0x417d48
mov ecx, dword [esi]
and ecx, 0xfffffffd
or ecx, 4
mov dword [esi + 0x37c8], 1
mov dword [esi], ecx
pop esi
pop ebx
add esp, 0xc
ret