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

Disassembly:
push 0xc
mov eax, 0x4fc643
call fcn.004df3ad
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004037c8
mov byte [ebp - 4], 4
mov esi, 0x5af400
push esi
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a5e3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004010f8
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004010f8
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004010f8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004010f8
xor al, al
call fcn.004df44c
ret 0x10
push esi
lea ecx, [ebp + 0xc]
call fcn.004036be
test eax, eax
je 0x43a59d
push str.hkcr
lea ecx, [ebp + 8]
mov esi, SysReAllocString
call fcn.004036be
test eax, eax
jne 0x43a609
dec esi
jmp 0x43a660
push str.hkcu
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
je 0x43a660
push str.hklm
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a632
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x43a660
push 0x5b3ef4
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a64a
mov esi, reloc.WS2_32.dll_closesocket
jmp 0x43a660
push str.hkcc
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a660
mov esi, VariantCopy
xor ebx, ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43a732
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0xc]
inc eax
push 1
push eax
call fcn.004daa00
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
jne 0x43a6e8
mov byte [ebp - 0xd], bl
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004010f8
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004010f8
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004010f8
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004010f8
mov al, byte [ebp - 0xd]
jmp 0x43a5db
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx - 0xc]
push ecx
inc eax
push eax
push esi
call fcn.004da30c
mov edi, dword [ebp + 0x10]
push esi
call fcn.004d9ab0
add esp, 0x10
inc eax
push eax
push esi
push 1
push ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
push esi
jne 0x43a727
call fcn.004da854
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x43a69c
call fcn.004da854
pop ecx
jmp 0x43a699
mov byte [ebp - 0xd], bl
jmp 0x43a6a5
Function at 0x43a73a
Capabilities:
Delete registry value

Disassembly:
push 8
mov eax, 0x4fc600
call fcn.004df3ad
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004037c8
mov byte [ebp - 4], 3
mov esi, 0x5af400
push esi
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a7a5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004010f8
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004010f8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004010f8
xor al, al
call fcn.004df44c
ret 0xc
push esi
lea ecx, [ebp + 0xc]
call fcn.004036be
test eax, eax
jne 0x43a7e8
xor bl, bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004010f8
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004010f8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004010f8
mov al, bl
jmp 0x43a79d
push str.hkcr
lea ecx, [ebp + 8]
mov esi, SysReAllocString
call fcn.004036be
test eax, eax
jne 0x43a801
dec esi
jmp 0x43a858
push str.hkcu
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
je 0x43a858
push str.hklm
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a82a
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x43a858
push 0x5b3ef4
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a842
mov esi, reloc.WS2_32.dll_closesocket
jmp 0x43a858
push str.hkcc
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a858
mov esi, VariantCopy
xor eax, eax
push eax
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43a7b2
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
push dword [ebp - 0x10]
jne 0x43a89a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x43a7b4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43a7b2
Function at 0x43c3f1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x5e4ce0]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x10
mov eax, 0x4fd30c
call fcn.004df3ad
mov eax, dword [ebp + 0x10c]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
lea esi, [eax + 8]
mov edi, 0x5af400
push edi
mov ecx, esi
call fcn.004013dd
mov eax, dword [ebp + 0x110]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [eax - 0xc], ecx
mov dword [ebp - 0x14], ecx
jle 0x43c4a2
lea edx, [ebp - 0x10]
push edx
push ebx
push ecx
push eax
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43c4ac
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x110]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x114]
call fcn.004010f8
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 + 0x100]
xor ecx, ebp
call fcn.004d99c4
add ebp, 0x104
leave
ret 0xc
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ebx
jmp 0x43c4ae
xor ecx, ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push ecx
push ecx
push dword [ebp + 0x114]
mov dword [ebp - 0x18], 0x100
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43c4e4
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.004013dd
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x10], ebx
je 0x43c4f2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0
je 0x43c52e
lea eax, [ebp - 0x1c]
push eax
call fcn.0043c65b
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov ecx, dword [esi]
cmp eax, dword [ecx - 0xc]
setne bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004010f8
test bl, bl
je 0x43c52e
push edi
mov ecx, esi
call fcn.004013dd
and dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x14]
jmp 0x43c45d
Function at 0x43c536
Capabilities:
Set registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x5e4ce0]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 8
mov eax, 0x4fc4b1
call fcn.004df3ad
mov esi, ecx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 8]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
mov dword [ebp - 0x14], ebx
jg 0x43c5b3
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10c]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x110]
call fcn.004010f8
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 + 0x100]
xor ecx, ebp
call fcn.004d99c4
add ebp, 0x104
leave
ret 8
mov eax, dword [ebp + 0x10c]
mov dword [ebp - 0x10], ebx
cmp dword [eax - 0xc], ebx
jle 0x43c602
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x43c609
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10c]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x110]
call fcn.004010f8
mov eax, esi
jmp 0x43c58e
mov dword [ebp - 0x10], reloc.OLEAUT32.dll_SysReAllocString
push dword [esi + 8]
lea eax, [ebp]
push 0x100
push eax
call fcn.004da30c
lea eax, [ebp]
push eax
call fcn.004d9ab0
add esp, 0x10
inc eax
push eax
lea eax, [ebp]
push eax
push edi
push ebx
push dword [ebp + 0x110]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x43c644
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x10], reloc.OLEAUT32.dll_SysReAllocString
je 0x43c656
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x14]
jmp 0x43c5e1

Function at 0x43c8d2
Capabilities:
Get system information on windows

Disassembly:
push 0x24
push 0
push esi
call fcn.004db150
add esp, 0xc
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
push esi
je 0x43c8fe
call eax
ret
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
ret
Function at 0x43cd9d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x5e4ce0]
xor eax, ebp
mov dword [ebp + 0x88], eax
push str.unknown
mov ecx, esi
call fcn.004013dd
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftDirectX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43ce19
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push str.Version
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43ce10
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.004013dd
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
call fcn.004d99c4
add ebp, 0x8c
leave
ret

Function at 0x43ce2e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x5e4ce0]
xor eax, ebp
mov dword [ebp + 0x90], eax
push edi
push str.unknown
mov ecx, ebx
call fcn.004013dd
lea eax, [ebp - 0x74]
push eax
push 1
xor edi, edi
push edi
push str.SoftwareMicrosoftActive_SetupInstalled_ComponentsD27CDB6E_AE6D_11cf_96B8_444553540000
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43ced5
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
push edi
push str.IsInstalled
push dword [ebp - 0x74]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], 4
call esi
test eax, eax
jne 0x43cecb
cmp dword [ebp - 0x78], edi
je 0x43cecb
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
push edi
push str.Version
push dword [ebp - 0x74]
mov dword [ebp - 0x80], 0x100
call esi
test eax, eax
jne 0x43cecb
lea eax, [ebp - 0x70]
push eax
mov ecx, ebx
call fcn.004013dd
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
pop edi
call fcn.004d99c4
add ebp, 0x94
leave
ret
Function at 0x43d483
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push 0x14c
mov eax, 0x5001a5
call fcn.004df416
mov esi, str.unknown
push esi
mov edi, ecx
call fcn.004013dd
lea ecx, [edi + 4]
push esi
mov dword [ebp - 0x130], ecx
call fcn.004013dd
lea ecx, [edi + 8]
push esi
mov dword [ebp - 0x134], ecx
call fcn.004013dd
lea ecx, [edi + 0xc]
push esi
mov dword [ebp - 0x124], ecx
call fcn.004013dd
lea ecx, [edi + 0x10]
push esi
mov dword [ebp - 0x12c], ecx
call fcn.004013dd
lea ebx, [edi + 0x14]
push esi
mov ecx, ebx
call fcn.004013dd
lea esi, [ebp - 0x158]
call fcn.0043c8d2
push dword [ebp - 0x144]
push 0x5b0fa4
push edi
call fcn.004037b5
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call fcn.0043d68b
xor esi, esi
mov dword [ebp - 4], esi
push eax
mov ecx, ebx
call fcn.004038a3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.004010f8
lea eax, [ebp - 0x11c]
push eax
xor ebx, ebx
inc ebx
push ebx
push esi
push str.HardwareDescriptionSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43d685
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push esi
push str.MHz
push dword [ebp - 0x11c]
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x118], 4
call edi
test eax, eax
jne 0x43d5c9
push esi
push dword [ebp - 0x120]
lea eax, [ebp - 0x128]
push eax
call fcn.0043d3aa
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x124]
push eax
call fcn.004038a3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.004010f8
mov ecx, dword [ebp - 0x124]
push 0x5b7eb8
call fcn.00405eb8
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push str.ProcessorNameString
push dword [ebp - 0x11c]
mov ebx, 0x100
mov dword [ebp - 0x118], ebx
call edi
test eax, eax
jne 0x43d607
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x114]
push eax
call fcn.004013dd
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push str.Identifier
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], ebx
call edi
test eax, eax
jne 0x43d640
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x114]
push eax
call fcn.004013dd
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push str.VendorIdentifier
push dword [ebp - 0x11c]
mov dword [ebp - 0x118], ebx
call edi
test eax, eax
jne 0x43d679
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x114]
push eax
call fcn.004013dd
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004df460
ret
Function at 0x43d75f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x5e4ce0]
xor eax, ebp
mov dword [ebp + 0x88], eax
push str.unknown
mov ecx, esi
call fcn.004013dd
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43d7db
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push str.Version
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43d7d2
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.004013dd
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
call fcn.004d99c4
add ebp, 0x8c
leave
ret

Function at 0x43d95b
Capabilities:
Delete file

Disassembly:
push 0x804
mov eax, 0x502031
call fcn.004df416
mov esi, ecx
mov dword [ebp - 4], 1
xor ebx, ebx
push ebx
push ebx
push str.DownloadFile:_begin...
xor ecx, ecx
call fcn.0043e12a
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x15c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x160], eax
push 0x5af400
mov dword [esi + 0x164], ebx
lea eax, [esi + 0x24]
push 0x12c
mov dword [esi + 0x168], ebx
push eax
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x20], 0xc8
call fcn.004da30c
add esp, 0xc
call fcn.0043daae
test eax, eax
je 0x43d9f1
mov esi, dword [esi + 0x18]
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004010f8
mov eax, esi
call fcn.004df460
ret 0x10
push ebx
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp + 8]
call fcn.0041cfbb
push eax
call fcn.0043e020
add esp, 0x14
lea eax, [ebp - 0x810]
push eax
call fcn.0043db2f
test eax, eax
jne 0x43d9cd
push ebx
push ebx
push str.DownloadFile:_sending_GET
lea ecx, [ebp - 0x410]
call fcn.0043e12a
push ebx
lea eax, [ebp - 0x410]
push eax
push 0x5b7fd0
call fcn.0043dbb7
test eax, eax
jne 0x43d9cd
push ebx
push ebx
lea ecx, [ebp + 0xc]
call fcn.0041cfbb
push str.DownloadFile:_writing
mov ecx, eax
call fcn.0043e12a
lea ecx, [ebp + 0xc]
call fcn.0041cfbb
push eax
call fcn.0043df45
test eax, eax
jne 0x43d9cd
call fcn.0043dd9d
test eax, eax
mov eax, esi
je 0x43da94
call fcn.0043dfaf
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x43d9cd
call fcn.0043dfaf
push ebx
push ebx
push str.DownloadFile:_finished...
xor ecx, ecx
call fcn.0043e12a
xor esi, esi
jmp 0x43d9d0
Function at 0x43db2f
Capabilities:
Connect to http server

Disassembly:
push ebx
push edi
xor edi, edi
cmp dword [esi + 8], edi
jne 0x43dbb0
mov ecx, dword [esp + 0xc]
push edi
push edi
push str.Connecting_to
call fcn.0043e12a
mov eax, esi
call fcn.0043e10b
push esi
push edi
push 3
push edi
push edi
push 0x50
push dword [esp + 0x24]
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, edi
mov dword [esi + 8], eax
jne 0x43dbb0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x3e5
je 0x43dba9
mov dword [esi + 0x1c], str.inetconnect
call ebx
push edi
push eax
push str.InternetConnect_failed.
xor ecx, ecx
mov dword [esi + 0x18], eax
call fcn.0043e12a
mov ecx, dword [esp + 0xc]
push edi
push edi
push str.Server
call fcn.0043e12a
mov eax, dword [esi + 0x18]
jmp 0x43dbb2
mov eax, esi
call fcn.0043e0eb
xor eax, eax
pop edi
pop ebx
ret 4
Function at 0x43dbb7
Capabilities:
Check http status code
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov eax, esi
call fcn.0043e10b
push esi
push 0x84000000
xor ebx, ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
jne 0x43dc1d
call edi
cmp eax, 0x3e5
je 0x43dc16
mov dword [esi + 0x1c], str.httpopen
call edi
push ebx
push eax
push str.HttpOpenRequest_failed.
mov dword [esi + 0x18], eax
xor ecx, ecx
call fcn.0043e12a
mov eax, dword [esi + 0x18]
jmp 0x43dd97
mov eax, esi
call fcn.0043e0eb
push str.POST
push dword [ebp + 8]
call fcn.004dc659
test eax, eax
pop ecx
pop ecx
jne 0x43dc5b
push 0x20000000
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x43dc5b
mov dword [esi + 0x1c], str.httpaddheaders
call edi
push ebx
push eax
push str.HttpAddRequestHeaders_failed.
jmp 0x43dc04
mov eax, esi
call fcn.0043e10b
cmp dword [ebp + 0x10], ebx
jne 0x43dc6b
xor eax, eax
jmp 0x43dc74
push dword [ebp + 0x10]
call fcn.004d9ab0
pop ecx
push eax
push dword [ebp + 0x10]
push ebx
push ebx
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x43dcc8
call edi
cmp eax, 0x3e5
je 0x43dcc8
mov dword [esi + 0x1c], str.httpsendreq
call edi
push ebx
push eax
push str.HTTPSendRequest_failed.
xor ecx, ecx
mov dword [esi + 0x18], eax
call fcn.0043e12a
mov ecx, dword [ebp + 8]
push ebx
push ebx
push str.verb
call fcn.0043e12a
mov ecx, dword [ebp + 0xc]
push ebx
push ebx
push str.object
jmp 0x43dc09
mov eax, esi
call fcn.0043e0eb
push ebx
lea ecx, [ebp - 4]
push ecx
lea eax, [esi + 0x20]
push eax
push 0x20000013
push dword [esi + 0xc]
mov dword [eax], ebx
mov dword [ebp - 4], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x43dd08
mov dword [esi + 0x1c], str.httpqueryinfo
call edi
push ebx
push eax
push str.HttpQueryInfo_failed.
jmp 0x43dc04
push ebx
lea eax, [ebp - 4]
push eax
lea edi, [esi + 0x24]
push edi
push 0x14
push dword [esi + 0xc]
mov dword [ebp - 4], 0x12b
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x43dd3c
push 0x5af400
push 0x12c
push edi
call fcn.004da30c
add esp, 0xc
jmp 0x43dd43
mov eax, dword [ebp - 4]
mov byte [eax + esi + 0x24], bl
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x43dd64
push ebx
push ebx
mov dword [esi + 0x1c], str.httpstatuszero
mov dword [esi + 0x18], 0x3eb
push str.HTTPSendRequest:_status_0_received__quitting
jmp 0x43dc07
cmp eax, 0xc8
je 0x43dd87
push eax
push ebx
mov dword [esi + 0x1c], str.httpstatuserr
mov dword [esi + 0x18], 0x3eb
push str.Received_server_error_from_HTTPQueryInfo.
mov ecx, edi
jmp 0x43dc09
push ebx
push ebx
push str.HTTPSendRequest:_status_OK_received
xor ecx, ecx
call fcn.0043e12a
xor eax, eax
pop edi
pop ebx
leave
ret 0xc
Function at 0x43dd9d
Capabilities:
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x438
mov eax, dword [0x5e4ce0]
xor eax, esp
mov dword [esp + 0x434], eax
push ebx
push edi
xor edi, edi
push edi
lea ecx, [esp + 0x10]
push ecx
lea eax, [esi + 0x168]
push eax
push 0x20000005
push dword [esi + 0xc]
mov dword [esi + 0x164], edi
mov dword [eax], edi
mov dword [esp + 0x20], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x150], edi
mov eax, dword [esi + 0x158]
test eax, eax
jne 0x43dede
push 0x28
lea eax, [esp + 0x14]
push edi
push eax
call fcn.004db150
lea eax, [esp + 0x44]
mov dword [esp + 0x30], eax
add esp, 0xc
mov eax, esi
mov dword [esp + 0x10], 0x28
mov dword [esp + 0x28], 0x400
call fcn.0043e10b
push esi
push edi
lea eax, [esp + 0x18]
push eax
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x43de57
call ebx
cmp eax, 0x3e5
jne 0x43df05
mov eax, esi
call fcn.0043e0eb
mov ecx, dword [esp + 0x28]
cmp ecx, edi
jne 0x43de6b
mov dword [esi + 0x150], 1
jmp 0x43ded2
mov eax, dword [esi + 0x154]
cmp eax, 0xffffffff
mov dword [esp + 8], ecx
je 0x43def9
push edi
lea edx, [esp + 0xc]
push edx
push ecx
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43deb0
mov dword [esi + 0x1c], str.inet.writefile
call ebx
push edi
push eax
push str.WriteFile_failed__writing_output.
xor ecx, ecx
mov dword [esi + 0x18], eax
call fcn.0043e12a
mov eax, dword [esi + 0x18]
jmp 0x43deb2
xor eax, eax
cmp eax, edi
jne 0x43def4
mov eax, dword [esp + 0x28]
add dword [esi + 0x164], eax
cmp dword [esi + 0x15c], edi
mov dword [esi + 0x14], edi
je 0x43ded2
mov eax, esi
call fcn.0043df26
cmp dword [esi + 0x150], edi
je 0x43ddf2
mov eax, dword [esi + 0x158]
test eax, eax
je 0x43df10
mov dword [esi + 0x1c], str.inet.readfile
mov eax, 0x4c7
mov dword [esi + 0x18], eax
jmp 0x43df12
push 6
mov dword [esi + 0x1c], str.inet.writeoutput
pop eax
jmp 0x43def4
mov dword [esi + 0x1c], str.inetreadfile
call ebx
jmp 0x43df12
xor eax, eax
mov ecx, dword [esp + 0x43c]
pop edi
pop ebx
xor ecx, esp
call fcn.004d99c4
mov esp, ebp
pop ebp
ret

Function at 0x43e020
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004db150
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, 0x400
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x10], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
neg eax
sbb eax, eax
neg eax
leave
ret
Function at 0x450ec0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [ecx + 4]
jmp 0x450ec0
push 0xffffffffffffffff
push 0x4f6ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x38]
push edi
lea ecx, [esp + 0x10]
call fcn.00451b50
push 0xfde9
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call fcn.00452660
push edi
lea ecx, [esi + 0x38]
call fcn.004632f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00451e70
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4