joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dbe10
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [ecx - 0xc8]
mov edx, dword [edi]
cmp eax, 0x64
jb 0x4dbe3f
push str.Couldnt_set_desired_mode
push edx
call fcn.004c01f0
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebp
ret
cmp ecx, 0xc8
je 0x4dbe56
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edx
call fcn.004c02d0
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x4dbe6d
push edi
call fcn.004dbb70
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x14
jne 0x4dbe81
push edi
call fcn.004dabc0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x15
jne 0x4dbe95
push edi
call fcn.004dbb50
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x16
jne 0x4dbea5
push edi
call fcn.004dbcf0
mov esi, eax
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4f3a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x4f3ab0
push ebx
mov ebx, dword [ebp + 8]
mov cl, byte [esi + ebx]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
and dl, 2
movzx ecx, cl
cmp dl, 2
cmovb ecx, eax
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0x4f3a72
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x4f3ba0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x548020]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4f3bcd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x4f3c17
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [ebp + 0x10], ebx
jmp 0x4f3c1d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4f3c7b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop dword [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x4f3c40
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x4f3ca7
mov eax, dword [esi + 4]
push 1
push 0x50cc86
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x50cc87
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4f3c80
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x558c30
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x558d3c
test eax, eax
je 0x558d3c
push esi
push edi
mov ecx, 0x10
mov esi, 0x573ff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x558d23
lea edi, [eax + 4]
jmp 0x558c87
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x558c9c
mov dword [ebp - 4], 2
jmp 0x558cbd
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x558cb3
mov dword [ebp - 4], 1
jmp 0x558cbd
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x558d33
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x558cf6
mov byte [ecx], 0x3d
jmp 0x558d02
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x558d0d
mov byte [ecx], 0x3d
jmp 0x558d13
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x558c84
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x5602067b
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x18cf4f96
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402ed4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x4041a0
sub eax, eax
test esi, esi
je 0x402fac
sub eax, 1
test ecx, ecx
je 0x402faa
test esi, 3
je 0x402f12
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x402ef7
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x402f91
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x402f1c
mov ecx, edx
test ecx, ecx
je 0x402faa
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x402f97
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x401578
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d0
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
cmp byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
xchg esp, eax
fdivp st(7)
test eax, 0x11d63675
xchg ecx, eax
sbb al, 0xbc
adc al, 0x67
push esp
call 0x401578
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [edx], cl
push es
pop eax
add dword [ecx], 0x79
ja 0x40159d
add byte [ebp + esi*2 + 0x174], bh
add byte [eax], al
dec esp
xor dword [eax], eax
adc eax, 0xa9ffde84
jne 0x40157d
salc
adc dword [ecx + 0x6714bc1c], edx
push esp
call 0x1e9aa9
test eax, 0x11d63675
xchg ecx, eax
sbb al, 0xbc
adc al, 0x67
push esp
call 0xad8f4fb9
xor ebx, dword [ecx - 0x48ee309a]
or al, 0
stosb byte es:[edi], al
add byte [eax - 0x2d], ah
xchg ebx, eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebp + 0x6f], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
inc ebp
outsd dx, dword [esi]
add byte [eax], al
add dword [eax + eax], 0
add byte [0x726f4600], al
insd dword es:[edi], dx
xor dword [eax], eax
or eax, 0xb9000801
loop 0x40157c
retf
Function at 0x4012a5
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
push 0
push 0x63
push 0x2a
push 0x15
push 0
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x40131c
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0xcfb
jge 0x401330
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x401313
push 0x40
mov ebx, 0x1000
push ebx
mov eax, 0x1400
push eax
push 0
push str.w353hjsfds
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x2c]
call dword [ebp - 0x2c]
mov dword [0x40f3a8], eax
mov dword [ebp + 8], 0x27
mov eax, 0xa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40228d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40eff8
cmp edx, dword [eax]
je 0x4022af
add eax, 8
inc ecx
cmp eax, 0x40f088
jl 0x4022a0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40eff8]
jne 0x4023dd
mov eax, dword [0x40f3bc]
cmp eax, 1
je 0x4023b7
test eax, eax
jne 0x4022e0
cmp dword [0x40ef4c], 1
je 0x4023b7
cmp edx, 0xfc
je 0x4023dd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402317
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004036d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004037c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40235a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004037c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x405b88
push edi
call fcn.004038d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004036d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004036e0
lea eax, [ebp - 0xa0]
push 0x405b68
push eax
call fcn.004036e0
push dword [esi + 0x40effc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004036e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040383b
add esp, 0x2c
pop edi
jmp 0x4023dd
lea eax, [ebp + 8]
lea esi, [esi + 0x40effc]
push 0
push eax
push dword [esi]
call fcn.004037c0
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 0x1a058
Capabilities:
Get system information on windows

Disassembly:
push 0x14c
push 0x131b8
call fcn.00012d10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x154], edx
cmp dword [0x1401c], 1
je 0x1a08c
mov eax, 0xc0000001
jmp 0x1a25e
mov eax, dword [0x14018]
test eax, eax
je 0x1a0a1
push edx
push dword [ebp + 0xc]
push ecx
call eax
jmp 0x1a25e
xor eax, eax
cmp dword [ebp + 0xc], 4
je 0x1a0bc
cmp dword [ebp + 0xc], 0x10c
je 0x1a0bc
mov eax, 0xc00000f0
jmp 0x1a25e
test dl, 3
je 0x1a0c6
mov eax, 0xc00000f1
test eax, eax
jl 0x1a25e
lea ebx, [ebp - 0x13c]
mov eax, 0x120
lea ecx, [ebp - 0x14c]
push ecx
push eax
push ebx
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [ebp - 0x144], eax
test eax, eax
jl 0x1a1c3
mov edi, dword [ebx]
mov eax, edi
mul dword [ebp + 0xc]
test edx, edx
ja 0x1a108
cmp eax, 0xffffffff
jbe 0x1a117
mov dword [ebp - 0x144], 0xc0000095
jmp 0x1a1ca
mov esi, edi
imul esi, dword [ebp + 0xc]
mov dword [ebp - 0x150], esi
mov ecx, dword [ebp - 0x154]
test ecx, ecx
je 0x1a1b9
mov eax, dword [ebp - 0x148]
cmp dword [eax], esi
jae 0x1a147
mov dword [ebp - 0x144], 0xc0000023
jmp 0x1a1b9
and dword [ebp - 0x140], 0
test edi, edi
jbe 0x1a1b9
lea edx, [ecx + 8]
lea eax, [ebx + 0x1e]
cmp dword [ebp + 0xc], 4
je 0x1a18c
cmp dword [ebp + 0xc], 0x10c
jne 0x1a19e
mov ecx, dword [eax - 0x12]
mov dword [edx - 8], ecx
mov ecx, dword [eax - 0xe]
mov dword [edx - 4], ecx
mov cx, word [eax]
mov word [edx], cx
lea esi, [eax + 2]
lea edi, [edx + 2]
push 0x40
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x154]
jmp 0x1a198
mov esi, dword [eax - 0x12]
mov edi, dword [ebp - 0x140]
mov dword [ecx + edi*4], esi
mov esi, dword [ebp - 0x150]
inc dword [ebp - 0x140]
add edx, 0x10c
add eax, 0x11c
mov edi, dword [ebp - 0x140]
cmp edi, dword [ebx]
jb 0x1a158
mov eax, dword [ebp - 0x148]
mov dword [eax], esi
jmp 0x1a1ca
cmp eax, 0xc0000004
je 0x1a1e5
lea eax, [ebp - 0x13c]
cmp ebx, eax
je 0x1a1dd
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 0x144]
jmp 0x1a25e
lea eax, [ebp - 0x13c]
cmp ebx, eax
je 0x1a1f8
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
and dword [ebp - 4], 0
push 0x4b787541
push dword [ebp - 0x14c]
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithQuotaTag]
mov ebx, eax
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 4], 0xfffffffe
test ebx, ebx
jne 0x1a229
mov eax, 0xc000009a
jmp 0x1a25e
mov eax, dword [ebp - 0x14c]
jmp 0x1a0d9
call fcn.00012d58
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401f00
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4029d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x18]
push eax
push 0x4046dc
push ecx
mov dword [esp + 0xac], 1
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xa8]
push edx
lea ecx, [esp + 0x1c]
mov edx, dword [eax + 0x6c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x401fac
push eax
push eax
lea eax, [esp + 0x18]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x401fac
mov ecx, dword [esp + 0x10]
push 0x40
push str.Error
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MessageBoxA
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push esi
mov eax, dword [eax + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push esi
mov ecx, dword [eax + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0xb0]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [esp + 0xc]
mov esi, eax
lea eax, [esp + 0xc]
push 0
push eax
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402069
push ecx
lea eax, [esp + 0xb4]
mov edx, esp
mov dword [esp + 0x18], esp
push str._Copy_Failed__
push eax
push edx
call sub.MFC42.DLL_operator
mov ecx, ebp
call fcn.00402210
lea ecx, [esp + 0xa8]
mov byte [esp + 0xa0], 0
call fcn.00402588
lea ecx, [esp + 0xb0]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00402588
xor eax, eax
jmp 0x4020a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xa8]
mov byte [esp + 0xa0], 0
call fcn.00402588
lea ecx, [esp + 0xb0]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00402588
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x98
ret 0xc
Function at 0x4020c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x402a00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, 0xc
mov esi, str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
lea edi, [esp + 0x14]
lea eax, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push eax
push 2
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0x80000002
mov dword [esp + 0x64], 1
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40214d
lea edx, [esp + 0x5c]
push str._Register_Font_Failed___
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0x40
push str.Error
push eax
mov ecx, ebp
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 1
call fcn.00402588
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4021a6
lea eax, [esp + 0x5c]
push str._Register_Font_Failed___
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0x40
push str.Error
push eax
mov ecx, ebp
mov byte [esp + 0x5c], 3
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 1
call fcn.00402588
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x5c]
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceA]
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 0
call fcn.00402588
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], 0xffffffff
call fcn.00402588
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x48
ret 8
Function at 0x402630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4036d0
push 0x402840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x4048cc], 0xffffffff
mov dword [0x4048d0], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4048c0]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x4048bc]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x4048c8], ecx
call fcn.00402830
mov eax, dword [0x4047e0]
test eax, eax
jne 0x4026c1
push 0x402820
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00402800
push 0x404014
push 0x404010
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x4048b8]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x4048b4]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x40400c
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [edx]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x4027cf
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x402735
cmp al, 0x22
jne 0x402727
cmp byte [esi], 0x22
jne 0x40273e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x40274e
cmp al, 0x20
ja 0x40274e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40273e
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x40276f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x402774
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x4027b4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40273e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4027cf
Function at 0x402c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, ecx
mov ecx, dword [esp + 4]
cmp ecx, 0x100012c
ja 0x402cf4
je 0x402cee
add ecx, 0xfefffff6
cmp ecx, 0xd7
ja case.0x402d47.16777727
movzx ecx, byte [ecx + 0x402eec]
jmp dword [ecx*4 + 0x402ebc]
add eax, 4
ret 4
add eax, 0x10
ret 4
add eax, 8
ret 4
add eax, 0x14
ret 4
add eax, 0x18
ret 4
add eax, 0x1c
ret 4
add eax, 0x20
ret 4
add eax, 0x24
ret 4
add eax, 0x28
ret 4
add eax, 0xdc
ret 4
add eax, 0x2c
ret 4
cmp ecx, 0x10001f4
ja 0x402d2e
je 0x402d28
sub ecx, 0x100012d
je 0x402d22
sub ecx, 1
je 0x402d1c
sub ecx, 1
jne case.0x402d47.16777727
add eax, 0xd8
ret 4
add eax, 0x34
ret 4
add eax, 0x30
ret 4
add eax, 0x38
ret 4
add ecx, 0xfefffe0b
cmp ecx, 0xa2
ja case.0x402d47.16777727
movzx edx, byte [ecx + 0x40308c]
jmp dword [edx*4 + 0x402fc4]
add eax, 0x3c
ret 4
add eax, 0x40
ret 4
add eax, 0x44
ret 4
add eax, 0x48
ret 4
add eax, 0x4c
ret 4
add eax, 0x50
ret 4
add eax, 0x54
ret 4
add eax, 0x58
ret 4
add eax, 0x5c
ret 4
add eax, 0x60
ret 4
add eax, 0x64
ret 4
add eax, 0x68
ret 4
add eax, 0x6c
ret 4
add eax, 0x70
ret 4
add eax, 0x74
ret 4
add eax, 0x78
ret 4
add eax, 0x7c
ret 4
add eax, 0x80
ret 4
add eax, 0x84
ret 4
add eax, 0x88
ret 4
add eax, 0x8c
ret 4
add eax, 0x90
ret 4
add eax, 0x94
ret 4
add eax, 0x98
ret 4
add eax, 0x9c
ret 4
add eax, 0xa0
ret 4
add eax, 0xa4
ret 4
add eax, 0xa8
ret 4
add eax, 0xac
ret 4
add eax, 0xb0
ret 4
add eax, 0xb4
ret 4
add eax, 0xb8
ret 4
add eax, 0xbc
ret 4
add eax, 0xc0
ret 4
add eax, 0xc4
ret 4
add eax, 0xc8
ret 4
add eax, 0xcc
ret 4
add eax, 0xd0
ret 4
add eax, 0xd4
ret 4
add eax, 0xe0
ret 4
add eax, 0xe4
ret 4
add eax, 0xe8
ret 4
add eax, 0xec
ret 4
add eax, 0xf0
ret 4
add eax, 0xf4
ret 4
add eax, 0xf8
ret 4
add eax, 0xfc
ret 4
add eax, 0x100
ret 4
add eax, 0x104
ret 4
xor eax, eax
ret 4