joyce8/EMBER2024-capa huggingface dataset:
Function at 0x530250
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x58ccad
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6b3854]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esp + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
push 0xa
lea ecx, [esi + 0x48]
mov byte [esp + 0x24], 1
call fcn.0056a6e0
lea ecx, [esi + 0x68]
mov byte [esp + 0x20], 2
call fcn.00532210
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
mov dword [esi + 0x108], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x110], edi
mov dword [esi + 0x114], edi
mov dword [esi + 0x124], edi
mov dword [esi + 0x128], edi
mov dword [esi + 0x12c], edi
mov dword [esi + 0x130], edi
mov dword [esi + 0x134], edi
mov dword [esi + 0x138], edi
mov dword [esi + 0x148], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x158], edi
mov dword [esi + 0x15c], edi
push 0x80
push str.g_PoolSTLIST
push 0x6b1800
mov byte [esp + 0x2c], 9
call fcn.0056ddb0
add esp, 0xc
mov dword [0x6b17fc], 0x32
cmp dword [0x6b17f4], edi
jne 0x5303df
push 0x64
push 0x6b17f4
call fcn.0052f5c0
mov eax, dword [0x6b17f4]
add esp, 8
mov dword [0x6b17f8], eax
push 0x1e
lea ecx, [esi + 0x94]
mov dword [esi + 0x64], edi
call fcn.0048db10
push 0x1e
lea ecx, [esi + 0xb8]
call fcn.0048db10
push 0x1e
lea ecx, [esi + 0xdc]
call fcn.0048db10
push 0x1e
lea ecx, [esi + 0x100]
call fcn.0048db10
push 3
lea ecx, [esi + 0x124]
call fcn.0048db10
mov dword [esi + 0x16c], edi
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x534980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58d34b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6b3854]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 8]
xor edi, edi
mov dword [esi], vtable.CSkillObjectTargetList.0
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
push 1
mov dword [esp + 0x1c], edi
call fcn.0048db10
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 0xb7]
mov word [esi + 0x30], cx
movzx edx, word [eax + 0xad]
mov word [esi + 0x32], dx
mov dword [esi + 0x2c], edi
movzx ecx, word [eax + 0x27]
mov word [esi + 0x34], cx
movzx edx, word [eax + 0x29]
mov word [esi + 0x36], dx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x53c680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58d7b6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6b3854]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CEngineObject.0
mov edx, 0xffff
push 0xa
lea ecx, [esi + 0x40]
mov dword [esi + 0x30], 1
mov word [esi + 0x34], dx
call fcn.0056a6e0
xor ebx, ebx
push 0xa
lea ecx, [esi + 0x5c]
mov dword [esp + 0x1c], ebx
call fcn.0056a6e0
push 0xa
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 1
call fcn.0056a6e0
fld1
fstp dword [esi + 8]
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], 0xffffffff
mov byte [esi + 0x28], bl
mov dword [esi + 0x20], 1
mov dword [esi + 0x3c], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x94], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x53dd30
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x4c]
add eax, 0x493e0
cmp edi, eax
jbe 0x53dd5d
mov ecx, esi
call fcn.0053dcf0
push 0x5a2860
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret
Function at 0x543b90
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebp
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
mov esi, ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x543bc9
pop esi
xor eax, eax
pop ebp
pop ecx
ret 4
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
push esi
push ebp
call edi
test al, al
jne 0x543bf3
push 0
push 0x45
push str.TileManager.cpp
call fcn.0051eca0
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea ebx, [esi + 4]
push ebx
push ebp
call edi
test al, al
jne 0x543c18
push 0
push 0x47
push str.TileManager.cpp
call fcn.0051eca0
add esp, 0xc
mov eax, dword [ebx]
imul eax, dword [esi]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056c6f8
mov dword [esi + 8], eax
mov eax, dword [ebx]
imul eax, dword [esi]
add esp, 4
xor edi, edi
test eax, eax
je 0x543c94
mov ecx, dword [esi + 8]
push 0
lea edx, [esp + 0x14]
push edx
push 2
lea eax, [esp + 0x24]
push eax
push ebp
lea ebx, [ecx + edi*2]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test al, al
jne 0x543c69
push 0
push 0x53
jmp 0x543c74
cmp dword [esp + 0x10], 0
jne 0x543c81
push 0
push 0x55
push str.TileManager.cpp
call fcn.0051eca0
add esp, 0xc
mov cx, word [esp + 0x18]
mov word [ebx], cx
mov edx, dword [esi + 4]
imul edx, dword [esi]
inc edi
cmp edi, edx
jb 0x543c44
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4
Function at 0x552ba0
Capabilities:
Set current directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
cmp esi, 0x12
jb 0x552bbe
push 0
push 0x72
push str.DirectoryManager.cpp
call fcn.0051eca0
add esp, 0xc
cmp esi, dword [edi + 0x50]
je 0x552bd6
cmp esi, 0x11
je 0x552bd6
mov eax, dword [edi + esi*4 + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [edi + 0x50], esi
pop edi
pop esi
ret 4
Function at 0x559680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58e4fe
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6b3854]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
push 0x40
mov byte [esp + 0x20], 2
call fcn.0048db10
push 0x40
lea ecx, [esi + 0x24]
call fcn.0048db10
push 0x40
lea ecx, [esi + 0x48]
call fcn.0048db10
mov ecx, esi
call fcn.005591d0
mov ecx, esi
call fcn.00559030
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x56ca39
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6b3854]
jne 0x56ca43
repz ret
jmp fcn.00572780

Function at 0x57cf9a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6b3854]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00573563
and dword [ebp - 0x14], 0
cmp dword [0x6f6080], 0
mov dword [ebp - 0x18], eax
jne 0x57d04d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x57d0f5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x57d0f5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x6f6080], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x6f6084], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x6f6088], eax
call edi
push eax
call esi
mov dword [0x6f6090], eax
test eax, eax
je 0x57d04d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x6f608c], eax
mov eax, dword [0x6f608c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x57d0a6
cmp dword [0x6f6090], ecx
je 0x57d0a6
push eax
call esi
push dword [0x6f6090]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x57d0a6
test ebx, ebx
je 0x57d0a6
call edi
test eax, eax
je 0x57d09d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x57d09d
test byte [ebp - 8], 1
jne 0x57d0a6
or dword [ebp + 0x10], 0x200000
jmp 0x57d0d9
mov eax, dword [0x6f6084]
cmp eax, dword [ebp - 0x18]
je 0x57d0d9
push eax
call esi
test eax, eax
je 0x57d0d9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x57d0d9
mov eax, dword [0x6f6088]
cmp eax, dword [ebp - 0x18]
je 0x57d0d9
push eax
call esi
test eax, eax
je 0x57d0d9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6f6080]
call esi
test eax, eax
je 0x57d0f5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x57d0f7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056ca39
leave
ret
Function at 0x10003ae0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 4]
sub ecx, 1
js 0x10003b0b
mov eax, dword [esi + 8]
lea edx, [eax + ecx*4]
mov eax, dword [edx]
movzx eax, word [eax + 6]
cmp eax, 4
je 0x10003b1e
cmp eax, 0xd
je 0x10003b1e
sub edx, 4
sub ecx, 1
jns 0x10003af3
mov eax, dword [esi]
sub eax, 1
je 0x10003b2c
sub eax, 2
je 0x10003b25
mov eax, 2
pop esi
ret
mov eax, 1
pop esi
ret
mov edx, 0x100040e0
jmp 0x10003b31
mov edx, 0x10004020
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x18]
sub edx, eax
sub edx, 0xa
mov dword [ecx + 1], eax
mov eax, dword [esp + 0x10]
mov byte [ecx], 0xb8
mov byte [ecx + 5], 0xe9
mov dword [ecx + 6], edx
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x14], eax
xor eax, eax
pop esi
ret

Function at 0x10004c6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10004c7e
pop dword [ebp - 0x24]
mov eax, 0x15f019d4
sub eax, 0x5efcd56
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3a80e
push 0
mov eax, 0x76259b77
sub eax, 0x66254b6f
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x596bfdcb
add ecx, 0xa6945a37
mov esi, eax
mov edx, 0xd60c3ee0
add edx, 0x39f43520
add edx, dword [ebp - 0x24]
mov ebx, 0x93db2a29
sub ebx, 0x969f5ed8
xor dword [ebp - 0x14], esi
mov edi, dword [edx]
add dword [ebp - 0x14], edi
xor edi, ebx
sub dword [ebp - 4], edi
mov dword [esi], edi
add dword [ebp - 4], 0x5e5426e
add esi, 4
add edx, 0xb6c510be
add edx, 0x493aef46
loop 0x10004cdd
add eax, 0x3e2b3f0d
add eax, 0xc1d613ce
mov ebx, eax
add eax, 0x251effc9
add eax, 0xdae1003c
mov ecx, 0x8ddf3b10
add ecx, 0x8220c4f0
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x402d18
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x100010c0
Capabilities:
Encode data using xor

Disassembly:
push edx
mul dword [ecx]
fiadd word [ecx - 0x246a579f]
mov eax, dword [0xa15d6261]
invalid
cmp ecx, edi
and dword [ebx + ecx*4], edi
sub dl, dl
out 0x48, al
ja 0x1000100e
cwde
xor esp, eax
push esp
cli
mov byte [edx + 0x48aed4d], ch
add eax, dword [edi + 0x25]
xor cl, byte [ebx + eax]
dec esp
loopne 0x100010b3
and ah, byte [edx + 0x7c281e4]
mov edx, dword [ebp + 0x6e0d0bb6]
push ebx
push ecx
push ebp
test dword [ebx + 0x6c85723e], esi
pop ecx
test eax, 0x1e24743a
fld xword [esi - 0x5b98adbd]
mov esi, 0x145ff59a
scasd eax, dword es:[edi]
mov esp, 0x7d929366
xchg bx, ax
xchg edx, eax
jge 0x10001130
add al, dh
xchg bx, ax
xchg edx, eax
jge 0x10001130
add al, dh
mov bh, 0xf4
imul ebp, dword [edx], 0xffffffa3
jne 0x10001079
mov dword [0x45beab75], eax
adc dword [eax + 0x61e8eafe], eax
stosb byte es:[edi], al
das
mov ah, 0x6c
pop ebp
and dword [esi + 0x7abf488a], esi
fldcw word [edx]
push ss
ror byte [eax - 0x47], 0x38
push cs
pop es
push es
out 0xbf, eax
adc al, 0x8e
lds esi, [eax + 0x4b]
int3
mov esi, 0xfe801145
ljmp 0x6cb4
mov dh, 0x4a
test al, 0x70
jns 0x100010cb
xor eax, dword [ecx + 0x26]
jp 0x10001199
leave
sbb dh, byte [esi - 0x2026cf44]
add eax, 0xa814e13e
mov ebp, 0x89946c0c
invalid
fsubr st(0), st(0)
push ss
shr byte [ebx + 0x33], 1
stosd dword es:[edi], eax
retf 0xb377

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40a3fb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40a40a
pop dword [ebp - 0x10]
mov eax, 0xccfe2892
sub eax, 0xccbd8488
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x6030f270
add dword [ebp - 0x20], 0xee2152db
mov dword [ebp - 0x1c], 0x1f01245
add dword [ebp - 0x1c], 0x30433a00
mov dword [ebp - 0x18], 0x7daa3d06
sub dword [ebp - 0x18], 0x315df8d8
mov dword [ebp - 0x14], 0xc2ae5a94
add dword [ebp - 0x14], 0x3d51a56c
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x9675f998
add dword [ebp - 0x20], 0xddfc6fbe
mov dword [ebp - 0x1c], 0xfc3f9530
sub dword [ebp - 0x1c], 0xbad333bb
mov dword [ebp - 0x18], 0x6e1c64f1
sub dword [ebp - 0x18], 0xaacf885
mov dword [ebp - 0x14], 0xb6e4f5ec
sub dword [ebp - 0x14], 0xb6e4f5ec
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x41b1f
push 0
call eax
mov ecx, 0xf58c685c
sub ecx, 0xf58c1053
mov esi, eax
mov edi, 0x434400
add edi, dword [ebp - 0x10]
mov edx, 0x6c89af01
sub dword [ebp - 4], 0xd20e3451
mov ebx, dword [edi]
add dword [ebp - 0xc], 0xd44fd04a
xor ebx, edx
xor dword [ebp - 8], esi
mov dword [esi], ebx
sub dword [ebp - 8], 0xbd0e86d4
add esi, 4
add edi, 0x636b84c8
sub edi, 0x636b84c4
loop 0x40a516
add eax, 0xbc8fe847
sub eax, 0xbc8e9550
mov ebx, eax
add eax, 0xd04e6567
add eax, 0x2fb19a9e
mov ecx, 0x84cb253b
sub ecx, 0x848b253b
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x40441c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40443c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00405b08
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x40445f
test byte [esp + 8], 2
je 0x40445f
call fcn.00405b7b
mov dword [eax], 0xd
call fcn.00405b84
mov dword [eax], 5
jmp 0x404438
xor eax, eax
ret

Function at 0x40a1b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4223c8
cmp edx, dword [eax]
je 0x40a1d2
add eax, 8
inc ecx
cmp eax, 0x422458
jl 0x40a1c3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4223c8]
jne 0x40a300
mov eax, dword [0x461aa4]
cmp eax, 1
je 0x40a2da
test eax, eax
jne 0x40a203
cmp dword [0x421a34], 1
je 0x40a2da
cmp edx, 0xfc
je 0x40a300
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a23a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040b4e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407b80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40a27d
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407b80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41c8ec
push edi
call fcn.00404470
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040b4e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040b4f0
lea eax, [ebp - 0xa0]
push 0x41c8cc
push eax
call fcn.0040b4f0
push dword [esi + 0x4223cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b4f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040c9e7
add esp, 0x2c
pop edi
jmp 0x40a300
lea eax, [ebp + 8]
lea esi, [esi + 0x4223cc]
push 0
push eax
push dword [esi]
call fcn.00407b80
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 0x41790e
Capabilities:
Create http request

Disassembly:
mov eax, 0x419c0c
call fcn.004051c4
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x417946
call fcn.00418c03
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x41796b
push eax
push dword [esi + 4]
call fcn.004185c0
jmp 0x417977
push esi
push eax
mov ecx, 0x45fb10
call fcn.00417988
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x417c39
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x419c6b
call fcn.004051c4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004126bd
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x421374]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.00412157
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00412157
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x41b58b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b22d

Function at 0x41b596
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b3bc

Function at 0x41b990
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00409dd0
mov eax, dword [0x482d00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041852c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41b9d2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41bb2e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425e70
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x484ae8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041cb60
mov ecx, dword [esi*4 + 0x484ae8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41bb27
cmp eax, dword [edi + ecx + 0x24]
jne 0x41bb27
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bb27
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041cb60
add esp, 0x14
test edx, edx
jl 0x41bb27
jg 0x41ba9d
test eax, eax
jb 0x41bb27
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41bb27
jl 0x41bab7
cmp dword [ebp - 0x1008], eax
ja 0x41bb27
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41bad5
test ebx, ebx
je 0x41bb0e
cmp ecx, edi
jae 0x41bb0e
mov al, byte [ecx]
cmp al, 0xd
jne 0x41baef
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41bafb
cmp byte [ecx + 1], 0xa
jne 0x41bafb
inc ecx
jmp 0x41bafb
movzx eax, al
movsx eax, byte [eax + 0x482fd8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41bad5
cmp edx, ebx
jne 0x41bad5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41bb2c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004092b4
leave
ret
Function at 0x41bffe
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x484ae8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c03e
cmp byte [ebx], 0xa
jne 0x41c03e
or byte [eax + edi + 0x28], 4
jmp 0x41c043
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41c141
mov al, byte [edx]
cmp al, 0x1a
je 0x41c123
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41c072
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41c097
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41c0a1
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41c054
jmp 0x41c141
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c11e
cmp dword [ebp - 0xc], 0
je 0x41c11e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x484ae8]
test byte [eax + edi + 0x28], 0x48
je 0x41c0f8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c0e3
mov byte [esi], dl
jmp 0x41c0f4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x484ae8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c141
cmp byte [ebp - 1], 0xa
jne 0x41c107
cmp esi, ebx
jne 0x41c107
mov byte [esi], 0xa
jmp 0x41c140
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041cb7e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c141
mov byte [esi], 0xd
jmp 0x41c140
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x484ae8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c13d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c141
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret