joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10033080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100330ca
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10033071
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10033080
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10438d23
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100330d1
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10019f47
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10033170
add edi, 4
add eax, 2
dec ecx
jne 0x100330b6
call 0x1003311d
loope 0x10033113
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1003316d
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1003317e
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10033131
cmp eax, ecx
ja 0x10033131
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100331bb
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100331b1
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001a426
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401007
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x426ec0]
mov dword [ebp - 0x28], eax
mov eax, dword [0x426ec4]
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [ebx + 4]
xor ecx, ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ecx
call fcn.00401000
mov eax, dword [0x426ec8]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x18], eax
mov eax, dword [0x426ecc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [0x2446e54]
cmp eax, 0xfa9
jne 0x40107e
mov dword [0x2446e50], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40108b
mov dword [0x24468dc], ecx
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
add edx, esi
xor eax, edx
xor eax, dword [ebp - 0x20]
cmp dword [0x2446e54], 0x213
mov dword [0x2446e4c], 0xf4ea3dee
mov dword [ebp - 4], eax
jne 0x4010cc
push ecx
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov eax, dword [ebp - 4]
xor ecx, ecx
sub edi, eax
cmp dword [0x2446e54], 0xc
jne 0x4010ee
lea eax, [ebp - 0x2c]
push eax
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
xor ecx, ecx
mov eax, edi
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
add dword [ebp - 8], 0x61c88647
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x28]
add edx, edi
xor eax, edx
xor eax, dword [ebp - 4]
sub esi, eax
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
jne 0x401052
mov dword [ebx + 4], edi
pop edi
mov dword [ebx], esi
pop esi
leave
ret
Function at 0x40112c
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2446e54]
mov ecx, dword [0x24468e0]
sub esp, 0xc00
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4011e7
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x2446e54], 0x959
jne 0x4011d6
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.zewaxuwawazuwuyuvivi
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push str.ozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call fcn.00401007
add ebx, 8
dec edi
jne 0x401154
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4014ae
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
xor esi, esi
cmp dword [0x2446e54], 0x400
push edi
jne 0x401529
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push str.nihunigufemakulidoyudu
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
push esi
call fcn.00401d8b
push esi
push esi
call fcn.00401738
push esi
call fcn.00401d26
push esi
call fcn.00401ff4
push esi
push esi
call fcn.00401b71
push esi
call fcn.00402068
push esi
push esi
call fcn.0040163c
push esi
call fcn.00401e38
add esp, 0x30
xor edi, edi
cmp edi, 0x16d2a
jge 0x40153e
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidthI]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e82fe
jg 0x401562
inc edi
cmp edi, 0x3011b
jl 0x40152b
mov eax, dword [0x429804]
mov dword [0x2446e54], eax
call fcn.004011ea
mov edi, 0x2ec37
cmp dword [0x2446e54], 0x51f
jne 0x40158e
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x401576
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x4075c1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426cdc]
jne 0x4075cb
repz ret
jmp fcn.00409586
Function at 0x408816
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426cdc]
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.004059e1
and dword [ebp - 0x14], 0
cmp dword [0x434418], 0
mov dword [ebp - 0x18], eax
jne 0x4088c9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408971
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408971
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x434418], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43441c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x434420], eax
call edi
push eax
call esi
mov dword [0x434428], eax
test eax, eax
je 0x4088c9
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x434424], eax
mov eax, dword [0x434424]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408922
cmp dword [0x434428], ecx
je 0x408922
push eax
call esi
push dword [0x434428]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408922
test ebx, ebx
je 0x408922
call edi
test eax, eax
je 0x408919
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408919
test byte [ebp - 8], 1
jne 0x408922
or dword [ebp + 0x10], 0x200000
jmp 0x408955
mov eax, dword [0x43441c]
cmp eax, dword [ebp - 0x18]
je 0x408955
push eax
call esi
test eax, eax
je 0x408955
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408955
mov eax, dword [0x434420]
cmp eax, dword [ebp - 0x18]
je 0x408955
push eax
call esi
test eax, eax
je 0x408955
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x434418]
call esi
test eax, eax
je 0x408971
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408973
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004075c1
leave
ret
Function at 0x401070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401089
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4010c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4010c0
lea ebx, [ebx]
cmp esi, eax
jae 0x4010c4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010b0
cmp esi, eax
jb 0x4010ca
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x419fb0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push 0
push 0x14
mov dword [ebp], 0
call fcn.00419950
mov esi, eax
add esp, 8
test esi, esi
jne 0x419fdb
lea eax, [esi + 7]
pop esi
pop ebp
pop ebx
ret
cmp byte [0x4e323c], 0
je 0x41a016
mov ecx, 0xc8
call fcn.0040a700
test eax, eax
jne 0x41a016
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x40a5d0
push 0
push 0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.004adc89
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x41a026
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
cmp dword [esi + 8], 0
jne 0x41a03e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebx
add esp, 4
mov dword [esi + 0x10], eax
mov dword [ebp], esi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x43cd10
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x14]
push ebp
push eax
push ebx
push esi
push esi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
push edi
mov byte [edi + 0x10], 1
call fcn.0042dc60
add esp, 0x1c
test ebx, ebx
jne 0x43cd4e
mov ecx, dword [esp + 0x10]
push ebp
push ecx
push esi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
push edi
call fcn.0042dc60
add esp, 0x14
pop ebp
pop ebx
ret
Function at 0x483280
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c1bc3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e6734]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0049910f
xor ecx, ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [esp + 0x28], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x30]
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
mov byte [esp + 0x28], 1
sete al
mov dword [esi + 0x30], eax
cmp eax, ecx
je 0x483350
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00499599
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.00499855
test ebp, ebp
je 0x48332e
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.004998e4
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0049922b
jmp 0x483362
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4

Function at 0x485571
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x404]
cmp eax, 0xffffffff
jne 0x485586
xor eax, eax
pop esi
pop ecx
ret 8
mov edx, dword [esp + 0x10]
push edi
lea edi, [esi + 0x41c]
push edi
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4855d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4855d2
mov eax, dword [esi + 0x404]
push 1
lea edx, [esp + 0xc]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8

Function at 0x4886c7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4886eb
cmp dword [edi + 0x54], 0
jne 0x4886eb
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0048991f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00488688
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x48a183
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4c21ea
call fcn.004aee15
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x48a1a8
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x48a1ee
lea ecx, [ebp - 0x10]
call fcn.00401610
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004887d6
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401120
mov eax, esi
call fcn.004aeeed
ret 8

Function at 0x48ff73
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x48ffba
call fcn.0048991f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x48ffba
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x48ffd6
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0048faed
mov esi, eax
test edi, edi
je 0x48ffd4
test ebx, ebx
je 0x48ffd4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x494817
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x49485f
call fcn.0048991f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x49485f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4948a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x49488b
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x49488b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x49489f
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x49a470
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x49a49b
call fcn.0048991f
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]
mov dword [esi + 8], eax
test eax, eax
jne 0x49a4be
push eax
push dword [esi + 4]
call fcn.0049a3f6
push esi
push eax
mov ecx, 0x4e99bc
call fcn.0049a0cb
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4ac66d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e6734]
jne 0x4ac677
repz ret
jmp fcn.004b472c

Function at 0x4bd9ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004b4070
and dword [ebp - 4], 0
cmp dword [0x4ea7a0], 0
mov ebx, eax
jne 0x4bda5d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4bdb0e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4d863c
push edi
call esi
test eax, eax
je 0x4bdb0e
push eax
call fcn.004b3ffe
mov dword [esp], 0x4d862c
push edi
mov dword [0x4ea7a0], eax
call esi
push eax
call fcn.004b3ffe
mov dword [esp], 0x4d8618
push edi
mov dword [0x4ea7a4], eax
call esi
push eax
call fcn.004b3ffe
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4ea7a8], eax
call esi
push eax
call fcn.004b3ffe
pop ecx
mov dword [0x4ea7b0], eax
test eax, eax
je 0x4bda5d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004b3ffe
pop ecx
mov dword [0x4ea7ac], eax
mov eax, dword [0x4ea7ac]
cmp eax, ebx
je 0x4bdab5
cmp dword [0x4ea7b0], ebx
je 0x4bdab5
push eax
call fcn.004b4079
push dword [0x4ea7b0]
mov esi, eax
call fcn.004b4079
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4bdab5
test edi, edi
je 0x4bdab5
call esi
test eax, eax
je 0x4bdaac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4bdaac
test byte [ebp - 0xc], 1
jne 0x4bdab5
or dword [ebp + 0x10], 0x200000
jmp 0x4bdaee
mov eax, dword [0x4ea7a4]
cmp eax, ebx
je 0x4bdaee
push eax
call fcn.004b4079
pop ecx
test eax, eax
je 0x4bdaee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4bdaee
mov eax, dword [0x4ea7a8]
cmp eax, ebx
je 0x4bdaee
push eax
call fcn.004b4079
pop ecx
test eax, eax
je 0x4bdaee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ea7a0]
call fcn.004b4079
pop ecx
test eax, eax
je 0x4bdb0e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4bdb10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41c97a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [ebx + 0x3cec0c7d], cl
push ebx
push esi
mov esi, ecx
mov eax, 0x750000a2
push edi
mov ebx, edx
mov dword [ebp - 0xc], ebx
movzx ecx, word [esi]
mov di, cx
mov dword [ebp - 4], ecx
cmp di, ax
jae 0xdf29ca46
push 7
pop edx
push 0x70
mov dword [ebp - 0x18], 0x8000521
mov dword [ebp - 0x1c], 0x8000561
pop eax
mov dword [ebp - 0x10], 0x8000510
mov dword [ebp - 0x14], 0x7500000f
cmp di, word [ebp - 0x18]
jae 0x3341ca66
cmp di, 0x6e
je 0x3341cb39
cmp di, 0x6f
je 0x7541cb39
cmp di, ax
je 0x479139
movzx ecx, di
cmp ecx, eax
ja 0x479109
je 0x7545be5d
cmp ecx, 0x5d
ja 0x41cb7e
cmp ecx, 0x5b
jae 0x47918e
test ecx, ecx
je 0x41ca46
cmp ecx, 0x54
ja 0x479159
movzx eax, word [esi + 2]
cmp ecx, 0x60
jbe 0x41cb62
push 0x61
pop eax
cmp ecx, eax
jne 0xf941ca13
clc
call [esi + 0x5b]
pop ebp
ret 8
inc esp
and al, 0x20
call fcn.00409c73
mov ebx, dword [ebp + 8]

Function at 0x41fe4e
Capabilities:
Enumerate pe sections

Disassembly:
add byte [ebx + 0x8458b7d], cl
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x41fe89
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x41fe82
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x41fe8e
add edx, 0x28
cmp edx, esi
jne 0x41fe73
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x41fe8b