joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53f252
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0053f0d1

Function at 0x5422ad
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00541f6d

Function at 0x54bc60
Capabilities:
Resolve dns

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebp, 1
push edi
push ebx
push esi
call fcn.0054c120
mov edi, eax
add esp, 8
test edi, edi
jns 0x54bc9b
push 0x7b
push str..crypto_bio_b_sock.c
push 0x6c
push 0x6a
push 0x20
call fcn.004872d0
add esp, 0x14
jmp 0x54bd5c
call fcn.0054c050
cmp eax, 1
jne 0x54bd6c
test edi, edi
jle 0x54bcb4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
push 0x8e
push str..crypto_bio_b_sock.c
push 0x16
push 9
call fcn.0048dc10
add esp, 0x10
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
jne 0x54bcf1
push 0x92
push str..crypto_bio_b_sock.c
push 0x66
push 0x6a
push 0x20
call fcn.004872d0
add esp, 0x14
jmp 0x54bd42
cmp word [ecx + 8], 2
je 0x54bd12
push 0x99
push str..crypto_bio_b_sock.c
push 0x6b
push 0x6a
push 0x20
call fcn.004872d0
add esp, 0x14
jmp 0x54bd42
mov eax, dword [ecx + 0xc]
xor ebp, ebp
mov eax, dword [eax]
movzx eax, byte [eax]
mov byte [ebx], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 1]
mov byte [ebx + 1], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 2]
mov byte [ebx + 2], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 3]
mov byte [ebx + 3], al
push 0xa2
push str..crypto_bio_b_sock.c
push 0x16
push 0xa
call fcn.0048dc10
add esp, 0x10
test ebp, ebp
je 0x54bd73
push esi
push str.host
push 2
call fcn.004868f0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x54c0d0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jns 0x54c110
push 0x233
push str..crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call fcn.004872d0
add esp, 0x14
xor eax, eax
test esi, esi
pop esi
sete al
ret
Function at 0x100290a7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x100290b6
pop dword [ebp - 0x48]
mov eax, 0x100290b6
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x2bce4b8b
sub dword [ebp - 0x58], 0xdd7c0640
mov dword [ebp - 0x54], 0x78e05c68
sub dword [ebp - 0x54], 0x46ad1023
mov dword [ebp - 0x50], 0x4e23896e
sub dword [ebp - 0x50], 0x1d74540
mov dword [ebp - 0x4c], 0xe643e31c
sub dword [ebp - 0x4c], 0xe643e31c
lea eax, [ebp - 0x58]
push eax
mov eax, 0xca3e79b2
add eax, 0x45c6552e
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x595a0fcd
add dword [ebp - 0x58], 0x1b185989
mov dword [ebp - 0x54], 0xcb7b0d6e
add dword [ebp - 0x54], 0x75f15407
mov dword [ebp - 0x50], 0x6c0bc55c
sub dword [ebp - 0x50], 0x89c58f0
mov dword [ebp - 0x4c], 0x70fe1666
sub dword [ebp - 0x4c], 0x70fe1666
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xee3be1cc
sub eax, 0xde371348
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x40274
push 0
call eax
mov ecx, 0x499e
mov ebx, eax
mov esi, 0x87040c76
sub esi, 0x76fe5876
add esi, dword [ebp - 0x48]
mov edx, 0x2bb60263
add edx, 0x3a3f8dca
mov edi, dword [esi]
xor dword [ebp - 4], 0x1cf28fc4
sub edi, edx
xor dword [ebp - 0x28], 0xf2820541
mov dword [ebx], edi
add ebx, 0xbe44359a
add ebx, 0x41bbca6a
add esi, 4
loop 0x100291cd
add eax, 0x6b004e71
sub eax, 0x6aff3526
mov ebx, eax
add eax, 0x2e3adb2b
sub eax, 0x2e3adb26
mov ecx, 0x9fa52684
sub ecx, 0x8fa52684
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x407ef0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x45ff68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0x44b780
lea eax, [ebp - 0x24]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp - 0x28]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x407f7a
push 0
lea edx, [ebp - 0x24]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x407f5a
jmp 0x407fe0
lea ecx, [ebp - 0x24]
push ecx
push 0xf003f
push 0
mov edx, dword [ebp - 0x28]
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x407f7a
jmp 0x407fe0
push 4
lea eax, [ebp - 0x30]
push eax
push 4
push 0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00409410
mov ecx, eax
call fcn.00425440
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.004087e0
push eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x407fb7
mov dword [ebp - 0x2c], 1
jmp 0x407fbe
mov dword [ebp - 0x2c], 0
mov al, byte [ebp - 0x2c]
mov byte [ebp - 0x1d], al
lea ecx, [ebp - 0x1c]
call fcn.00405790
movzx ecx, byte [ebp - 0x1d]
test ecx, ecx
je 0x407fd6
jmp 0x407fe0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ec10
mov esp, ebp
pop ebp
ret

Function at 0x407ff0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x45ff68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
lea eax, [ebp - 0x28]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408031
jmp 0x408099
push 4
lea edx, [ebp - 0x30]
push edx
push 4
push 0
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.00409410
mov ecx, eax
call fcn.00425530
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.004087e0
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x408070
mov dword [ebp - 0x24], 1
jmp 0x408077
mov dword [ebp - 0x24], 0
mov dl, byte [ebp - 0x24]
mov byte [ebp - 0x1d], dl
lea ecx, [ebp - 0x1c]
call fcn.00405790
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x40808f
jmp 0x408099
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ec10
mov esp, ebp
pop ebp
ret
Function at 0x40beb0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x45ff68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp - 0x28]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40beea
jmp 0x40bf22
lea edx, [ebp - 0x1c]
push edx
call fcn.00409410
mov ecx, eax
call fcn.00425440
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.004087e0
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x1c]
call fcn.00405790
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ec10
mov esp, ebp
pop ebp
ret
Function at 0x40dc30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.00418e60
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.00409020
mov ecx, eax
call fcn.004144b0
movzx eax, al
test eax, eax
je 0x40dc6c
jmp 0x40dcd6
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x18
call fcn.00405b30
push 0xa
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.004144e0
movzx eax, word [eax]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041c520
mov ecx, eax
call fcn.0041ca50
mov esp, ebp
pop ebp
ret 4
Function at 0x40f330
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44886c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45ff68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CHttpRequest.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0040f2d0
mov dword [ebp - 4], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.0040f2d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.0040f2d0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x78], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.0040f2d0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.0040f2d0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xac], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xb0], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xb4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xb8], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbc], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc0], 0
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov ecx, dword [ebp + 8]
call fcn.0040b170
test eax, eax
jbe 0x40f484
push 0x44c230
mov ecx, dword [ebp + 8]
call fcn.004087c0
push eax
call fcn.004301b3
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc4], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40f7e0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448c2b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x45ff68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
push 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0xb4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x40f98b
push 0xffffffffffffffff
push 0xa
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea edx, [ebp - 0x58]
push edx
call fcn.00410b80
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 4], 0
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0xbc], esp
mov ecx, dword [ebp - 0xa8]
push ecx
push str._failed_with_error
lea ecx, [ebp - 0x70]
call fcn.00404d20
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x60
push ecx
push 0x44c4bc
lea ecx, [ebp - 0x88]
call fcn.00404d20
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0040f070
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040efc0
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x94]
push eax
push esi
call fcn.0040efc0
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0x8c]
call fcn.004117f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00405790
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00405790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00405790
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00405790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ec10
mov esp, ebp
pop ebp
ret
Function at 0x410310
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448a20
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x45ff68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
add eax, 0x30
push eax
lea ecx, [ebp - 0x48]
call fcn.0040f300
mov dword [ebp - 4], 0
push 0x13
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.00410550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004087e0
push eax
call fcn.00430289
add esp, 4
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x14], eax
push 0x14
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00410550
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.00405bb0
lea ecx, [ebp - 0x40]
call fcn.00405790
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0040f4a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ec10
mov esp, ebp
pop ebp
ret
Function at 0x410550
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448a88
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x45ff68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x44], 0
push 0x44c48c
lea ecx, [ebp - 0x28]
call fcn.00404d20
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xb4]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x6c], 0
jne 0x4105cc
cmp dword [ebp - 0x64], 0x7a
je 0x4105f8
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404c70
mov edx, dword [ebp - 0x44]
or edx, 1
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405790
mov eax, dword [ebp + 8]
jmp 0x4106dd
xor ecx, ecx
mov eax, dword [ebp - 0x4c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042bc1c
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
push 0
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xb4]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x410681
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.0042ff99
add esp, 4
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404c70
mov eax, dword [ebp - 0x44]
or eax, 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405790
mov eax, dword [ebp + 8]
jmp 0x4106dd
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00404d20
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.00405bb0
lea ecx, [ebp - 0x40]
call fcn.00405790
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0042ff99
add esp, 4
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404c70
mov eax, dword [ebp - 0x44]
or eax, 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405790
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ec10
mov esp, ebp
pop ebp
ret 8
Function at 0x410d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448b9b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x45ff68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc4], 0
je 0x410db0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042f889
add esp, 0x10
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xb8], 0
jne 0x410e0d
push 0x18
call fcn.0042c012
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x410deb
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00404c30
mov dword [ebp - 0x18], eax
jmp 0x410df2
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xb8], ecx
jmp 0x410e23
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xb8]
call fcn.00408290
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc0]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc0], eax
mov ecx, dword [ebp - 0x10]
call fcn.00410f10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4119b0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448d7b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x45ff68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0xbc]
add ecx, 1
push ecx
call fcn.0042bc1c
add esp, 4
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0xbc]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x90]
push edx
call fcn.0042e230
add esp, 0xc
push 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0xbc]
push ecx
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0xb4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x411bd5
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
call fcn.0042ff99
add esp, 4
push 0xffffffffffffffff
push 0xa
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00410b80
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 4], 0
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0xc8], esp
mov eax, dword [ebp - 0xc4]
push eax
push str._data_read_failed_with_error
lea ecx, [ebp - 0x70]
call fcn.00404d20
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0x8c]
add eax, 0x60
push eax
push 0x44c5d0
lea ecx, [ebp - 0x88]
call fcn.00404d20
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x94], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x94]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.0040f070
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb8]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0040efc0
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x98]
push edx
push esi
call fcn.0040efc0
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x8c]
call fcn.004117f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00405790
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00405790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00405790
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00405790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ec10
mov esp, ebp
pop ebp
ret