joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423bd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d49e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x56b06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov esi, dword [ebp + 0x20]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004119e0
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.00423650
mov esi, dword [ebp - 0x1c]
add esp, 0x18
test esi, esi
je 0x423c5d
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push 4
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x423c93
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423c89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423ca5
push edx
push ecx
call fcn.004835cc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004b1db8
int3

Function at 0x423cb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4a10
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x56b06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov esi, dword [ebp + 0x20]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004119e0
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.00423740
mov esi, dword [ebp - 0x20]
add esp, 0x18
test esi, esi
je 0x423d59
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x423d4d
cmp dword [ebp - 0x10], 4
mov ecx, 0xd
cmovne eax, ecx
test eax, eax
push esi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423d5b
xor bl, bl
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x423d91
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423d87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423da5
push edx
push ecx
call fcn.004835cc
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004b1db8
int3
Function at 0x426e60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d27e0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56b06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0048359c
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0047148e
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x427a80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x56b06c]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00427c40
mov esi, eax
test esi, esi
jne 0x427b77
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x427b49
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00427a80
mov esi, eax
test esi, esi
jne 0x427b77
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x427b10
mov eax, dword [esp + 0xc]
test eax, eax
je 0x427b60
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.004279a0
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x427b86
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0048358b
mov esp, ebp
pop ebp
ret 4
Function at 0x427ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427c11
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x427bdf
cmp eax, 2
jne 0x427bfb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x427c0b
test ecx, ecx
je 0x427c06
test cl, 1
jne 0x427bfb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x427c0b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x427db0
Capabilities:
Get hostname

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4d49
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push eax
push 0
mov dword [ebp - 0x48], 0
call edi
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x427f59
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.00427fc0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x54]
call edi
test eax, eax
je 0x427f59
mov edx, dword [ebp - 0x54]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427e90
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00412c70
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004a8270
movups xmm0, xmmword [esi]
add esp, 8
movups xmm1, xmmword [eax]
movq xmm2, qword [eax + 0x10]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
mov edx, dword [ebp - 0x30]
movups xmmword [esi], xmm1
movq qword [esi + 0x10], xmm2
cmp edx, 0x10
jb 0x427f11
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x427f07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427fac
push edx
push ecx
call fcn.004835cc
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 8
jb 0x427f59
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427f4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427fb1
push edx
push ecx
call fcn.004835cc
add esp, 8
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x427f8c
mov ecx, dword [ebp - 0x4c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x427f82
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427fb6
push ecx
push edx
call fcn.004835cc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004b1db8
call fcn.004b1db8
call fcn.004b1db8
int3
Function at 0x428210
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4d98
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x56b06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x428262
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x4282ec
lea eax, [ebp - 0x24]
push eax
push edi
mov ecx, eax
call fcn.00428400
cmp dword [esi + 0x14], 8
jb 0x428287
mov esi, dword [esi]
push dword [ebp - 0x24]
push edi
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4282ec
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
push 0x540dbc
push dword [ebp - 0x24]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x4282ec
mov ax, word [edx + 0xa]
mov word [ebx], ax
mov bl, 1
mov eax, dword [ebp + 8]
movzx ecx, word [edx + 8]
mov word [eax], cx
mov eax, dword [ebp + 0xc]
movzx ecx, word [edx + 0xe]
mov word [eax], cx
mov eax, dword [ebp + 0x10]
movzx ecx, word [edx + 0xc]
mov word [eax], cx
jmp 0x4282ee
xor bl, bl
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x42831e
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x428314
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428332
push edx
push ecx
call fcn.004835cc
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004b1db8
int3
Function at 0x428540
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4e32
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x220], esi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], edi
mov word [esi], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x22c], 1
test ebx, ebx
je 0x428647
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x42863b
push str.SHGetKnownFolderPath
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x428634
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push ecx
push 0
push 0x1000
push ebx
call eax
test eax, eax
js 0x428634
mov edx, dword [ebp - 0x220]
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428610
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00412c70
push dword [ebp - 0x220]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
cmp dword [esi + 0x10], 0
jne 0x4286c8
test eax, eax
je 0x428691
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
push dword [eax]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x428691
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428673
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00412c70
cmp dword [esi + 0x10], 0
jne 0x4286c8
test edi, edi
je 0x4286c8
push edi
call fcn.004ba54c
mov edx, eax
add esp, 4
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4286b0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00412c70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
ret
Function at 0x428a70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4e9b
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], edx
mov esi, ecx
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x258], esi
xor ebx, ebx
mov dword [ebp - 0x258], esi
xor edi, edi
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], edi
push 0x228
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x240], 0x22c
call fcn.004a9e70
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x428b30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x428bf2
mov dword [esi], edi
mov eax, esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x428bd6
cmp edi, ebx
je 0x428b51
mov edi, ebx
lea esi, [ebp - 0x240]
mov ecx, 0x8b
add ebx, 0x22c
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24c], ebx
jmp 0x428b6a
lea eax, [ebp - 0x240]
push eax
push ebx
lea ecx, [ebp - 0x250]
call fcn.00429c40
mov ebx, dword [ebp - 0x24c]
push 0x22c
lea eax, [ebp - 0x488]
push 0
push eax
call fcn.004a9e70
add esp, 0xc
lea eax, [ebp - 0x240]
mov ecx, 0x8b
lea esi, [ebp - 0x488]
lea edi, [ebp - 0x240]
rep movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x244]
mov dword [ebp - 0x240], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov edi, dword [ebp - 0x248]
test eax, eax
jne 0x428b30
mov ecx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x250]
mov dword [ecx], eax
mov eax, edi
mov dword [ecx + 8], eax
mov eax, ecx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
ret
mov edx, eax
mov ecx, str.EnumerateProcessesInSnapshot_failed:
call fcn.00429b90
int3
Function at 0x42c3c0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5386
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x42c404
mov dword [edi], 0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x42c469
nop dword [eax + eax]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push ecx
push dword [eax + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x42c538
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x42c469
cmp esi, eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push ecx
cmovb eax, esi
push eax
mov eax, dword [ebp - 0x2c]
push ebx
push dword [eax + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x42c489
mov eax, dword [ebp - 0x34]
add ebx, eax
sub esi, eax
test edi, edi
je 0x42c462
add dword [edi], eax
mov eax, dword [ebp - 0x2c]
test esi, esi
jne 0x42c410
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
ret 0x10
sub esp, 8
lea ecx, [ebp - 0xe4]
call fcn.004298f0
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.WinHttpReadData_failed_with_error__
lea ecx, [ebp - 0xd4]
call fcn.004241d0
mov ecx, eax
call fcn.00424070
mov edx, 0x541864
mov ecx, eax
call fcn.004241d0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xcc]
call fcn.004265c0
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov ecx, dword [eax + 0xc]
call fcn.0042c220
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42c523
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c519
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c5e3
push edx
push ecx
call fcn.004835cc
add esp, 8
lea ecx, [ebp - 0xe4]
call fcn.00428940
mov eax, 1
jmp 0x42c46b
sub esp, 8
lea ecx, [ebp - 0x194]
call fcn.004298f0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.WinHttpQueryDataAvailable_failed_with_error__
lea ecx, [ebp - 0x184]
call fcn.004241d0
mov ecx, eax
call fcn.00424070
mov edx, 0x541864
mov ecx, eax
call fcn.004241d0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x17c]
call fcn.004265c0
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0xc]
call fcn.0042c220
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42c5ce
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c5c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c5e8
push edx
push ecx
call fcn.004835cc
add esp, 8
lea ecx, [ebp - 0x194]
call fcn.00428940
mov eax, 1
jmp 0x42c46b
call fcn.004b1db8
call fcn.004b1db8
int3
Function at 0x42c600
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d53b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x56b06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.004119e0
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
call fcn.004119e0
mov dword [esi + 0x40], 0
xor eax, eax
mov dword [esi + 0x44], 7
mov word [esi + 0x30], ax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 7
mov word [esi + 0x48], ax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov al, byte [ebp + 0x14]
mov byte [esi + 0x74], al
xor eax, eax
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 7
mov word [esi + 0x78], ax
mov dword [esi + 0x90], eax
mov dword [esi + 0x70], eax
mov eax, esi
mov dword [esi + 0x94], 5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e380
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov ecx, dword [edi + 0x90]
test ecx, ecx
je 0x42e3a0
push dword [ebp + 8]
call fcn.0042e380
pop edi
mov esp, ebp
pop ebp
ret 4
push esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x21
push dword [edi + 0x6c]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x42e45a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42e45a
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [esi + 0x10]
cmp eax, ecx
ja 0x42e3f8
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x42e3f0
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x42e404
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0040a820
mov eax, dword [esi + 0x10]
add eax, eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
mov eax, esi
jb 0x42e416
mov eax, dword [esi]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push 0x21
push dword [edi + 0x6c]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x42e45a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42e438
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
cmp word [eax + ecx*2 - 2], 0
jne 0x42e450
lea eax, [ecx - 1]
mov ecx, esi
push 0
push eax
call fcn.0042b790
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x42fc90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42fcbe
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42fcc7
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret