joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c32e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x512588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4c3390
mov eax, dword [0x10096d4]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004fcf58
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004fcfa7
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004fcf04
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4c3377
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4c3377
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004fcb74
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4c6490
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x512a10
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c6637
mov ecx, dword [0x10096d4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4c658c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004c51b0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004fcc61
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004fcb74
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x10075ac
call fcn.004fcbe2
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004c5570
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004fcc61
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004fcb74
lea ecx, [esp + 0xc]
call fcn.004fd063
mov ecx, dword [esp + 0xc]
push 0x1007fec
push ecx
call fcn.004eaf34
add esp, 8
test eax, eax
je 0x4c65b4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4c64ed
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004fcb74
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004fcb74
jmp 0x4c663b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004c6230
test eax, eax
push 0
je 0x4c661f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004c48d0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4c6605
cmp eax, 0x64
jg 0x4c65f3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4c6590
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4c6590
cmp eax, 0x64
jge 0x4c658c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4c6590
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004c48d0
mov esi, eax
jmp 0x4c6590
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4c6645
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4cec70
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4cecba
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x4cece9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x4ced2b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x4da8f8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x513969
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004dd370
lea edi, [esi + 0x108]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0xc]
mov dword [edi], fcn.004b0c10
call fcn.004fb332
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 1
call fcn.004fb332
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 2
call fcn.004dcf90
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 3
call fcn.004dcf90
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 4
call fcn.004fb332
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 5
call fcn.004fb332
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 6
call fcn.004dcf90
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 7
call fcn.004dcf90
mov dword [edi], 0xfde2d0
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 8
call fcn.004dd370
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 9
call fcn.004dd370
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 0xa
call fcn.004dd370
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 0xb
call fcn.004dd370
lea ecx, [esi + 0x654]
mov byte [esp + 0x18], 0xc
call fcn.004dd370
mov ecx, esi
mov byte [esp + 0x18], 0xd
mov dword [esi], method.CWnd.virtual_0
call fcn.004dac20
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4daae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x513a7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
lea ecx, [esi + 0x654]
mov dword [esp + 0x18], 5
call fcn.004dd540
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 4
call fcn.004dd540
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 3
call fcn.004dd540
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 2
call fcn.004dd540
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 1
call fcn.004dd540
lea edi, [esi + 0x108]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 0xc
mov dword [ecx], 0xfde2e0
call fcn.004dd190
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 0xb
mov dword [ecx], 0xfde2e0
call fcn.004dd190
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 0xa
call fcn.004fb35b
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 9
call fcn.004fb35b
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 8
mov dword [ecx], 0xfde2e0
call fcn.004dd190
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 7
mov dword [ecx], 0xfde2e0
call fcn.004dd190
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 6
call fcn.004fb35b
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 0
call fcn.004fb35b
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004dd540
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4e6dc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x514613
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.00502e5a
xor eax, eax
mov dword [esi + 0x10], 0xfde9fc
mov dword [esp + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, 1
mov dword [esi], method.CDC.virtual_0
mov byte [esp + 0x10], cl
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
push edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.004e6ec0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x4e6e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51463b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.CDC.virtual_0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 1
push eax
call fcn.004e7b00
lea ecx, [esi + 0x10]
mov dword [esp + 8], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x14], 2
call fcn.00503af4
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00502f8f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4fefbe
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4feff6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004fcfcf
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004fcfa7
jmp 0x4ff002
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x500834
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x500876
call fcn.0050782d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x500876
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x50086d
xor eax, eax
jmp 0x50087e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00500884
pop edi
pop esi
pop ebx
ret 4
Function at 0x507d5d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x507d8b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x507da9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00507cc3
jmp 0x507da9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x507da9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00507cc3
test edi, edi
mov eax, edi
jne 0x507d93
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x50a5fa
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x50a622
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x50a633
push 2
call edi
test ax, ax
jge 0x50a633
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004fe5f3
cmp dword [esi + 0x30], ebx
jne 0x50a70d
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004fe5f3
cmp eax, dword [esp + 0x34]
jne 0x50a70d
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x50a6a9
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x50a6ee
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x50a70d
cmp eax, 0x205
je 0x50a70d
cmp eax, 0x201
je 0x50a70d
cmp eax, 0x204
je 0x50a70d
cmp eax, ebx
jne 0x50a6d4
cmp dword [esp + 0x1c], 0x1b
je 0x50a70d
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x1074e64]
jbe 0x50a703
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x50a666
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x40103d
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x45dac0
jmp 0x401020
push 0xffffffffffffffff
push 0x444ec7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x456050]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], eax
mov ecx, dword [0x456050]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x14], ecx
mov edx, dword [0x456050]
mov dword [esi + 0x18], edx
mov eax, dword [0x456050]
mov dword [esi + 0x1c], eax
mov cl, byte [esp + 0xb]
push 0xc
mov byte [esp + 0x1c], 3
mov byte [esi + 0x28], cl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dl, byte [esp + 0xf]
push 0xc
mov byte [esp + 0x20], 4
mov byte [esi + 0x34], dl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi], 0x4474ec
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4027f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445049
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00403f90
mov eax, dword [0x456050]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x1c], eax
mov dword [esi + 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
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 8
call fcn.0041d340
lea ecx, [esi + 0xa0]
mov byte [esp + 0x14], 9
call fcn.0041d340
lea ecx, [esi + 0xf8]
mov byte [esp + 0x14], 0xa
call fcn.0041d340
mov edx, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [esi + 0x154], edi
mov dword [esi + 0x158], edi
mov dword [esi + 0x15c], edi
mov ecx, dword [0x456050]
mov eax, esi
mov dword [esi + 0x160], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x164], edi
mov dword [esi + 0x178], edi
mov dword [esi + 0x17c], edx
mov dword [esi + 0x180], esi
mov dword [esi + 0x184], 1
mov dword [esi + 0x188], edi
mov dword [esi + 0x150], edi
mov dword [esi], 0x44750c
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x405560
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x45f358]
push esi
test eax, eax
jne 0x405601
push str.MiniMessengerFileMappingData
push 0x187d10
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [0x45f358], eax
je 0x405601
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x45f350], eax
test eax, eax
jne 0x4055bf
mov eax, dword [0x45f358]
push eax
call esi
mov dword [0x45f358], 0
push str.MiniMessengerFileMappingDataMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x45f354], eax
jne 0x405601
mov ecx, dword [0x45f350]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [0x45f358]
mov dword [0x45f350], 0
push edx
call esi
mov dword [0x45f358], 0
pop esi
ret
Function at 0x4056b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445299
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x456050]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [edi + 4], eax
mov ecx, dword [0x456050]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [edi + 8], ecx
mov edx, dword [0x456050]
mov dword [edi + 0xc], edx
mov eax, dword [0x456050]
mov dword [edi + 0x10], eax
mov ecx, dword [0x456050]
lea esi, [edi + 0x14]
mov dword [esp + 0x18], esi
mov dword [esi + 0x10], ecx
mov edx, dword [0x456050]
mov dword [esi + 0x14], edx
mov eax, dword [0x456050]
mov dword [esi + 0x18], eax
mov ecx, dword [0x456050]
mov dword [esi + 0x1c], ecx
mov dl, byte [esp + 0x13]
push 0xc
mov byte [esp + 0x28], 7
mov byte [esi + 0x28], dl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov al, byte [esp + 0x13]
lea ebp, [esi + 0x34]
push ebx
push ebx
mov ecx, ebp
mov byte [esp + 0x2c], 8
mov byte [ebp], al
call fcn.00414390
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [esi], 0x4474ec
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [edi + 0x60], ebx
mov dword [edi], 0x4476a8
mov eax, dword [edi + 0x60]
cmp eax, ebx
mov byte [esp + 0x24], 0xa
je 0x405796
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x60], ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40a1a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
dec eax
je 0x40a1bf
dec eax
je 0x40a1b7
dec eax
jne 0x40a1cb
mov eax, dword [esi + 4]
push 3
push eax
jmp 0x40a1c5
mov ecx, dword [esi + 4]
push 2
push ecx
jmp 0x40a1c5
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 4]
test eax, eax
je 0x40a1fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a1fd
mov eax, dword [esi + 4]
push 1
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0xc4]
mov dword [esi + 0x5c], 0
mov eax, dword [0x5e883c]
push 0
push esi
push 0xfb8
push eax
mov dword [edx*4 + 0x45f37c], 0
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
ret
Function at 0x40bfe0
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 0x30]
push edi
xor edi, edi
mov dword [esp + 0xc], ecx
test eax, eax
mov dword [esp + 8], edi
jbe 0x40c082
mov eax, dword [ecx + 0x2c]
mov edx, dword [eax]
cmp edx, eax
mov dword [esp + 4], edx
je 0x40c082
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
jmp 0x40c01b
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
cmp byte [eax + 8], 0
je 0x40c060
mov eax, dword [eax + 4]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call ebx
mov edi, eax
push 0
push edi
call ebp
mov esi, eax
push edi
add esi, 0x1800
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x40c065
mov esi, 0x2000
mov eax, dword [edx]
mov edx, dword [ecx + 0x2c]
add edi, esi
cmp eax, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
jne 0x40c017
pop esi
pop ebp
mov eax, edi
pop ebx
pop edi
add esp, 0xc
ret
mov eax, edi
pop edi
add esp, 0xc
ret
Function at 0x40c890
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ecx + 0xc]
push ebx
push esi
xor edx, edx
push edi
cmp eax, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
jne 0x40c8d8
lea eax, [ebp - 0x1c]
push 0x453c20
push eax
mov dword [ebp - 0x1c], str._hRequest__NULL__this_is_because_handle_is_already_closed_but_Response_is_called_n
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40c99d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.W3CFail_d_n
call fcn.0041e6c0
add esp, 8
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], str.response_failed...
push 0x453c20
push edx
call sub.MSVCRT.dll__CxxThrowException
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0xc], 0
push eax
push edx
push ecx
call fcn.0040ad60
add esp, 0x14
mov eax, 0x40c99d
ret
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8