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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47daad
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov esi, ecx
mov dword [ebp - 0x21c], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x238], esi
mov word [esi], ax
push 0x208
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, 0x1a
test bl, bl
mov eax, 0x23
cmovne eax, ecx
push 1
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x416767
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [ebp - 0x218], ax
jne 0x4166d9
xor ecx, ecx
jmp 0x4166f1
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4166e2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040235a
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0040246e
mov byte [ebp - 4], 0
cmp dword [ebp - 0x220], 8
jb 0x416739
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 0x2c
mov ecx, esi
push str.9CC84E23_75A4_41F9_82B5_67F4FD9E78A7Common
call fcn.00402779
mov ecx, esi
call fcn.00411e10
test al, al
jne 0x416759
mov ecx, esi
call fcn.00411f30
push 0xa
push 0x48cb38
mov ecx, esi
call fcn.00402779
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret

Function at 0x417280
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
test eax, eax
je 0x4172d0
push dword [ebp + 0xc]
push eax
call fcn.004171d0
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
shr ecx, 3
mov dword [ebp - 0x10], eax
and ecx, 0x3f
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, 0x38
cmp ecx, 0x38
jb 0x4172f4
mov eax, 0x78
sub eax, ecx
mov ecx, esi
push eax
push 0x48cbd8
call fcn.004171d0
push 8
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.004171d0
movdqu xmm0, xmmword [esi]
mov ecx, dword [ebp - 8]
xor ecx, ebp
movdqu xmmword [edi], xmm0
pop edi
pop esi
call fcn.00452da4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x417c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa8
call fcn.004789a0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417cd3
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x417d19
mov eax, 0x5c
cmp ax, word [ebp + ecx*2 - 0x20e]
je 0x417d19
mov word [ebp + ecx*2 - 0x20c], ax
lea eax, [ecx*2 + 2]
cmp eax, 0x208
jae 0x417ec1
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
push 0x104
push str.iphlpapi.dll
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcsncat_s]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa8], eax
test eax, eax
jne 0x417d60
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417e68
lea ecx, [ebp - 0x2a90]
mov dword [ebp - 0x2a90], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x417e68
mov eax, ebx
mov dword [ebp - 0x2aa0], 3
lea ecx, [ebp - 0x2a98]
push esi
sub eax, ecx
push edi
lea edi, [ebp - 0x2a8c]
mov dword [ebp - 0x2aa4], eax
lea ecx, [edi + 8]
call fcn.00417ed0
mov dword [ebp - 0x2a9c], eax
xor eax, eax
mov dword [ebp - 0x2a98], eax
xor ecx, ecx
mov word [ebp - 0x2a94], ax
mov eax, dword [ebp - 0x2aa4]
lea ecx, [ecx]
lea esi, [ebp - 0x2a98]
add esi, ecx
mov dl, byte [eax + esi]
cmp dl, byte [esi]
jne 0x417dfd
inc ecx
cmp ecx, 6
jb 0x417de0
mov ecx, dword [ebp - 0x2a9c]
jmp 0x417e1b
mov eax, dword [edi + 0x1a0]
cmp eax, 6
je 0x417e0d
cmp eax, 0x17
jne 0x417e5c
mov ecx, dword [ebp - 0x2a9c]
cmp dword [ebp - 0x2aa0], ecx
jle 0x417e5c
movzx eax, byte [edi + 0x194]
mov byte [ebx], al
movzx eax, byte [edi + 0x195]
mov byte [ebx + 1], al
movzx eax, byte [edi + 0x196]
mov byte [ebx + 2], al
movzx eax, byte [edi + 0x197]
mov byte [ebx + 3], al
movzx eax, byte [edi + 0x198]
mov byte [ebx + 4], al
movzx eax, byte [edi + 0x199]
mov byte [ebx + 5], al
mov dword [ebp - 0x2aa0], ecx
mov edi, dword [edi]
test edi, edi
jne 0x417db8
pop edi
pop esi
push dword [ebp - 0x2aa8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x2a98], eax
mov word [ebp - 0x2a94], ax
lea eax, [ebp - 0x2a98]
sub ebx, eax
lea ecx, [ecx]
lea ecx, [ebp - 0x2a98]
add ecx, edx
mov al, byte [ebx + ecx]
cmp al, byte [ecx]
jne 0x417ea9
inc edx
cmp edx, 6
jb 0x417e90
mov cl, 1
jmp 0x417eab
xor cl, cl
xor eax, eax
test cl, cl
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop ebx
call fcn.00452da4
mov esp, ebp
pop ebp
ret
call fcn.004533d3
int3
Function at 0x417ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x11c]
push edi
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
mov dword [ebp - 0x114], 0x104
mov ebx, 3
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x10c], 0
call esi
test eax, eax
jne 0x41809f
push edi
push str._sConnection
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push 0x103
push eax
call dword [sym.imp.MSVCR120.dll__snprintf_s]
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x418097
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 4
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], 4
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x41808f
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x114], 0x103
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x41808f
mov eax, dword [ebp - 0x10c]
cmp eax, 1
jne 0x418080
mov esi, dword [sym.imp.MSVCR120.dll_strncmp]
lea eax, [ebp - 0x108]
push ebx
push 0x48ccc8
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x418051
xor ebx, ebx
jmp 0x41808f
mov eax, dword [ebp - 0x10c]
cmp eax, 1
jne 0x418080
push 3
lea eax, [ebp - 0x108]
push 0x48ccc8
push eax
call esi
add esp, 0xc
test eax, eax
je 0x41807a
mov ebx, 2
jmp 0x41808f
mov eax, dword [ebp - 0x10c]
xor ebx, ebx
cmp eax, 2
setne bl
lea ebx, [ebx*2 + 1]
push dword [ebp - 0x118]
call edi
push dword [ebp - 0x11c]
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452da4
mov esp, ebp
pop ebp
ret
Function at 0x423890
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ebd6
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [section..data]
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, ecx
cmp dword [edx + 0x14], 8
mov dword [ebp - 0xa3c], 0
jb 0x4238d2
mov edx, dword [edx]
sub esp, 8
lea ecx, [ebp - 0xa30]
push edx
call fcn.004235e0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0xa20], 0
je 0x42395f
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov edx, dword [ebp - 0xa1c]
cmp edx, 8
jae 0x423946
mov eax, dword [ebp - 0xa20]
inc eax
je 0x42394e
add eax, eax
push eax
lea eax, [ebp - 0xa30]
push eax
push edi
call dword [sym.imp.MSVCR120.dll_memmove]
mov edx, dword [ebp - 0xa1c]
add esp, 0xc
mov ecx, dword [ebp - 0xa20]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
jmp 0x423a52
mov ecx, dword [ebp - 0xa30]
mov dword [edi], ecx
mov ecx, dword [ebp - 0xa20]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
jmp 0x423a52
lea ecx, [ebp - 0x218]
call fcn.0040df50
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
push esi
call fcn.00452ca0
mov ebx, eax
add esp, 4
mov dword [ebp - 0xa40], ebx
push ebx
push esi
push 0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x423a0f
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xa34], 0
push eax
lea eax, [ebp - 0xa34]
push eax
push 0x48b30c
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x423a0f
mov ecx, dword [ebp - 0xa34]
test ecx, ecx
je 0x423a0f
movzx eax, word [ecx + 0x14]
push eax
movzx eax, word [ecx + 0x16]
push eax
movzx eax, word [ecx + 0x10]
push eax
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ebp - 0xa18]
push 0x48b830
push eax
call fcn.00423a70
add esp, 0x18
lea eax, [ebp - 0xa18]
mov ecx, edi
push eax
call fcn.00402e29
jmp 0x423a30
push 7
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push str.0.0.0.0
mov word [edi], ax
call fcn.0040235a
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
cmp dword [ebp - 0xa1c], 8
jb 0x423a52
push dword [ebp - 0xa30]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
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.00452da4
mov esp, ebp
pop ebp
ret
Function at 0x423a90
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x60], eax
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x423c3e
test edi, edi
je 0x423c3e
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x423c2c
test esi, 0xfffffff0
je 0x423c2c
push ebx
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
xor bl, bl
mov dword [ebp - 0x54], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x423b26
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x423bfb
push 8
push 0x18
push 0
push 0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x423bfb
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], 0x208
mov dword [ebp - 0x4c], 0x660e
mov dword [ebp - 0x48], 0x10
movdqu xmm0, xmmword [eax]
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x2c
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x58]
movdqu xmmword [ebp - 0x44], xmm0
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x423bfb
push 0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 2
push eax
push 4
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x423bfb
mov eax, esi
mov byte [ebp - 0x24], 0
and eax, 0xf
mov dword [ebp - 0xb], 0
sub esi, eax
mov word [ebp - 7], 0
push 0x10
lea eax, [edi - 0x10]
mov dword [ebp - 0x5c], esi
add eax, esi
mov byte [ebp - 5], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push 0x20
push eax
movdqu xmmword [ebp - 0x23], xmm0
movq qword [ebp - 0x13], xmm0
call dword [sym.imp.MSVCR120.dll_memcpy_s]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
lea eax, [ebp - 0x5c]
add esp, 0x10
push eax
push edi
push 0
push 0
push 0
push dword [ebp - 0x54]
call esi
test eax, eax
je 0x423bfb
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x10
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 1
push 0
push dword [ebp - 0x54]
call esi
mov bl, 1
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x423c09
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x423c19
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
pop ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop edi
call fcn.00452da4
mov esp, ebp
pop ebp
ret
Function at 0x424eb0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.00424f20
push 0
push 0
push esi
push 0x423c50
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
mov ecx, dword [esi + 0x54]
add esp, 0x18
mov edi, eax
test ecx, ecx
je 0x424ee1
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x54], edi
test edi, edi
jne 0x424f12
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CHttpManager::Start_return_error:_u
push edi
push str.HttpManager.cpp
call fcn.00403e90
add esp, 0x10
mov ecx, esi
call fcn.00424f20
mov eax, 0x80004005
pop edi
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x4290a0
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f3d8
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x83c]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
mov dword [ebp - 0x840], 0
push SysReAllocString
mov dword [ebp - 0x848], edi
mov dword [ebp - 0x83c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x429130
push 0
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push 0x48b56c
mov byte [edi], 0
call fcn.0040206a
jmp 0x4292e7
xorps xmm0, xmm0
sub esp, 0x18
movdqu xmmword [ebp - 0x838], xmm0
mov eax, esp
movdqu xmmword [ebp - 0x828], xmm0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x83c]
mov dword [eax], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_96dfe1787354200c493a3f9af176861c____0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x838]
mov dword [eax + 0x10], eax
mov byte [ebp - 4], 0
call fcn.004264d0
lea eax, [ebp - 0x814]
mov dword [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], 0
push eax
lea eax, [ebp - 0x818]
mov dword [ebp - 0x814], 0x7fe
push eax
push 0
push str.ProxyEnable
push dword [ebp - 0x83c]
call esi
test eax, eax
jne 0x4292af
cmp dword [ebp - 0x814], 4
jne 0x4292af
cmp dword [ebp - 0x818], 4
jne 0x4292af
cmp dword [ebp - 0x810], eax
jne 0x4291f0
push 0x48b56c
mov ecx, edi
call fcn.00401e08
jmp 0x4292ce
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0x7fe
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push str.ProxyServer
push dword [ebp - 0x83c]
call esi
test eax, eax
jne 0x4291df
mov eax, dword [ebp - 0x814]
cmp eax, 0x800
jae 0x4292aa
cmp dword [ebp + 0xc], 0
mov byte [ebp + eax - 0x810], 0
lea eax, [ebp - 0x810]
je 0x42925a
push str.https
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x42929a
add esi, 5
jmp 0x42926f
push str.http
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x42929a
add esi, 4
test esi, esi
je 0x42929a
mov al, byte [esi]
cmp al, 0x20
je 0x42927d
cmp al, 0x3d
jne 0x429280
inc esi
jmp 0x429273
push 0x3b
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
je 0x429290
mov byte [eax], 0
push esi
mov ecx, edi
call fcn.00401e08
jmp 0x4292ce
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.00401e08
jmp 0x4292ce
call fcn.004533d3
push 0
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push 0x48b56c
mov byte [edi], 0
call fcn.0040206a
lea ecx, [ebp - 0x838]
mov dword [ebp - 0x840], 1
mov byte [ebp - 4], 0
call fcn.00426430
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret 8
Function at 0x42c320
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 8]
lea edi, [esi + 4]
mov dword [ebp - 4], 0
cmp dword [edi], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0
je 0x42c3a2
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42c379
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x42c38d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
mov dword [esi + 8], 0
test ecx, ecx
je 0x42c3b0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x42c3b0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [esi + 0x10], eax
test eax, eax
jns 0x42c3e0
cmp eax, 0x80010119
jne 0x42c483
lea eax, [ebp - 0x18]
push eax
push 0x487374
push 1
push 0
push 0x487444
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esi + 0x10], eax
test eax, eax
js 0x42c483
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0042b7b0
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x42c41a
mov edx, dword [eax]
jmp 0x42c41c
xor edx, edx
mov eax, dword [ebp - 0x18]
push edi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 0
call fcn.0040e620
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x18], 0
jl 0x42c483
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [esi + 0x10], eax
test eax, eax
jns 0x42c4a9
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
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 - 0x14]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x42c48b

Function at 0x42d930
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42d988
mov eax, dword [esp]
cmp al, 2
jne 0x42d982
shr eax, 8
cmp al, 2
jne 0x42d982
call fcn.0043e0e0
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00452da4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
mov eax, 2
xor ecx, esp
call fcn.00452da4
mov esp, ebp
pop ebp
ret
Function at 0x431830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x43185b
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x43184e
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 8]
push 1
push edi
call ecx
jmp 0x43188f
cmp dword [esi + 8], 0
jne 0x431880
push 0x48bb6c
push dword [eax + 8]
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x431880
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.MSVCR120.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4318b2
mov eax, dword [esi + 8]
test eax, eax
je 0x4318ac
push eax
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x436110
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.no_proxy
mov dword [ebp - 0x394], ecx
xor esi, esi
call dword [sym.imp.MSVCR120.dll_getenv]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
add esp, 4
mov byte [ebp - 0x188], 0
test eax, eax
je 0x436179
push 0x104
lea ecx, [ebp - 0x188]
push ecx
push eax
call edi
cmp byte [ebp - 0x188], 0
je 0x436179
lea eax, [ebp - 0x188]
push eax
call dword [0x4a1124]
add esp, 4
mov ebx, eax
jmp 0x43617b
xor ebx, ebx
test ebx, ebx
jne 0x4361c4
push str.NO_PROXY
call dword [sym.imp.MSVCR120.dll_getenv]
add esp, 4
mov byte [ebp - 0x28c], bl
test eax, eax
je 0x4361c2
push 0x104
lea ecx, [ebp - 0x28c]
push ecx
push eax
call edi
cmp byte [ebp - 0x28c], bl
je 0x4361c2
lea eax, [ebp - 0x28c]
push eax
call dword [0x4a1124]
add esp, 4
mov ebx, eax
jmp 0x4361c4
xor ebx, ebx
mov edi, dword [ebp - 0x394]
mov edx, ebx
mov ecx, dword [edi + 0x98]
call fcn.00435fc0
test al, al
jne 0x4362d9
mov eax, dword [edi + 0x27c]
lea esi, [ebp - 0x84]
mov edi, dword [eax]
mov al, byte [edi]
test al, al
je 0x43620c
movsx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_tolower]
mov byte [esi], al
lea edi, [edi + 1]
mov al, byte [edi]
add esp, 4
inc esi
test al, al
jne 0x4361f3
mov eax, dword [str._proxy]
mov dword [esi], eax
mov ax, word [0x48e6d8]
mov word [esi + 4], ax
mov al, byte [0x48e6da]
mov byte [esi + 6], al
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.MSVCR120.dll_getenv]
add esp, 4
mov byte [ebp - 0x390], 0
test eax, eax
je 0x436270
push 0x104
lea ecx, [ebp - 0x390]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x390], 0
je 0x436270
lea eax, [ebp - 0x390]
push eax
call dword [0x4a1124]
add esp, 4
mov esi, eax
jmp 0x436272
xor esi, esi
test esi, esi
jne 0x4362d9
lea edx, [ebp - 0x84]
mov ecx, str.http_proxy
call fcn.0044a1c0
test eax, eax
jne 0x4362bd
mov esi, 0x80
lea edx, [ebp - 0x84]
mov cl, byte [edx]
mov al, cl
sub al, 0x61
cmp al, 0x19
ja 0x4362a2
sub cl, 0x20
mov byte [edx], cl
inc edx
test cl, cl
je 0x4362ac
dec esi
jne 0x436295
lea ecx, [ebp - 0x84]
call fcn.0044a290
mov esi, eax
test esi, esi
jne 0x4362d9
mov ecx, str.all_proxy
call fcn.0044a290
mov esi, eax
test esi, esi
jne 0x4362d9
mov ecx, str.ALL_PROXY
call fcn.0044a290
mov esi, eax
push ebx
call dword [0x4a1134]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00452da4
mov esp, ebp
pop ebp
ret