joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409fa6
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x40a2c4
Capabilities:
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, 0x8004
mov esi, ecx
mov dword [ebp - 4], edi
jne 0x40a2eb
mov dword [ebp + 8], 0x14
jmp 0x40a2fa
cmp ebx, 0x8003
jne 0x40a2fa
mov dword [ebp + 8], 0x10
push 0x100
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.0047b7a0
mov eax, dword [esi + 0x104]
add esp, 0xc
cmp eax, edi
je 0x40a388
add esi, 0x108
push esi
push edi
push edi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x40a388
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40a37c
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 0x104]
push eax
push 2
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x40a37c
cmp dword [ebp + 0x14], edi
mov dword [ebp - 4], 1
je 0x40a37c
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x14]
call fcn.0047bb20
add esp, 0xc
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [esi], edi
jmp 0x40a3c1
sub ebx, 0x8003
je 0x40a3a4
dec ebx
jne 0x40a3c1
push dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040a3cb
jmp 0x40a3b3
push dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040a47a
add esp, 0x10
test al, al
je 0x40a3c1
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40dc30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x120c
call fcn.0047c100
and dword [ebp - 4], 0
push esi
call fcn.00403b07
test eax, eax
jne 0x40dc68
call fcn.004e317c
push dword [ebp + 0x14]
mov eax, dword [eax + 4]
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004e33cd
jmp 0x40dcad
mov esi, dword [ebp + 0x18]
test esi, esi
jne 0x40dc74
mov esi, str.ppstream.ini
push 0x5c
push esi
call fcn.0047b7f8
pop ecx
test eax, eax
pop ecx
je 0x40dcb5
push esi
lea eax, [ebp - 0x120c]
push 0x1000
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x120c]
push eax
call fcn.004dc6dc
mov eax, dword [ebp + 8]
jmp 0x40dd36
and byte [ebp - 0x20c], 0
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20b]
push 0x208
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20c]
push eax
call fcn.00403b68
lea eax, [ebp - 0x20c]
push 0x52584c
push eax
call fcn.0047b690
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0047b690
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x120c]
push 0x1000
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x120c]
push eax
call fcn.004dc6dc
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret 0x14
Function at 0x4174b5
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4e8268
call fcn.0047b598
sub esp, 0x11c
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov esi, ecx
push ebx
push 0x14b
push dword [esi + 0x288]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
lea ecx, [esi + 0x2b4]
push ebx
call fcn.004d7eb6
mov dword [ebp - 0x14], ebx
mov eax, dword [0x52ba98]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push str.LoginUserName_d
push eax
call fcn.004d64b3
mov ax, word [0x5345c0]
add esp, 0xc
mov word [ebp - 0x128], ax
xor eax, eax
push 0x40
lea edi, [ebp - 0x126]
pop ecx
mov dword [ebp - 0x20], 0x104
rep stosd dword es:[edi], eax
push 1
lea ecx, [ebp - 0x10]
stosw word es:[edi], ax
pop eax
mov dword [ebp - 0x10], ebx
push ecx
push eax
push ebx
push str.SoftwarePPStream_recent_
push bind
mov dword [ebp - 0x24], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4175f4
cmp dword [ebp - 0x10], ebx
je 0x4175f4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4175e2
lea eax, [ebp - 0x128]
push eax
call fcn.0047baa0
test eax, eax
pop ecx
jbe 0x4175e2
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x1c]
push eax
call fcn.004dc6dc
mov eax, dword [esi + 0x2bc]
lea ecx, [esi + 0x2b4]
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 1
push edx
push eax
call fcn.004d802b
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
je 0x4175d7
push eax
push ebx
push 0x143
push dword [esi + 0x288]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004dc66e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004dc66e
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xa
jl 0x4174f0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41761c
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4e8284
call fcn.0047b598
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x2bc], ebx
jle 0x417703
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x20006
push ebx
push str.SoftwarePPStream_recent_
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4176f0
cmp dword [ebp - 0x10], ebx
je 0x4176f0
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x2b4]
push eax
call fcn.0042aa29
mov eax, dword [0x52ba98]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push str.LoginUserName_d
push eax
call fcn.004d64b3
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov eax, dword [eax - 8]
push eax
push ebx
call fcn.004dca9e
push eax
push 1
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004dcaed
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], bl
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004dc66e
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x2bc]
jl 0x41763f
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41918c
Capabilities:
Check os version

Disassembly:
mov eax, 0x4e8568
call fcn.0047b598
sub esp, 0xa0
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0047b7a0
add esp, 0xc
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x4191e4
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0x94
push eax
call esi
test eax, eax
je 0x419241
cmp dword [ebp - 0xa8], 5
jne 0x419241
cmp dword [ebp - 0xa4], 1
jne 0x419241
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x10]
push eax
call fcn.004dc6dc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004dcb82
push str.service_pack_2
push dword [ebp - 0x10]
call fcn.0047db34
pop ecx
test eax, eax
pop ecx
jne 0x419235
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dc66e
push 1
pop eax
jmp 0x419243
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dc66e
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x419cbb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x419cde
xor eax, eax
leave
ret
lea eax, [ebp - 4]
push esi
and byte [ebp - 0x108], 0
push eax
lea eax, [ebp - 0x108]
xor esi, esi
push eax
push 0x534198
push dword [ebp + 8]
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
call fcn.00481e50
pop ecx
test eax, eax
pop ecx
jne 0x419d20
push 1
pop esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x41a8fd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4e8698
call fcn.0047b598
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004e317c
mov esi, dword [eax + 8]
test esi, esi
je 0x41aa19
mov eax, dword [ebp + 8]
push 6
shr eax, 4
inc eax
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x41aa19
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebp - 0x10], 0
mov esi, eax
je 0x41aa19
lea edi, [esi + 2]
lea eax, [edi + edi]
push eax
call fcn.004dcbe4
push edi
xor edi, edi
mov ebx, eax
push edi
push ebx
call fcn.0047b7a0
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
je 0x41aa12
mov ecx, dword [ebp + 8]
and ecx, 0xf
jbe 0x41a998
movzx edx, word [eax]
dec ecx
lea eax, [eax + edx*2 + 2]
jne 0x41a98e
movzx ecx, word [eax]
cmp ecx, esi
jl 0x41a9a1
mov ecx, esi
add eax, 2
push ecx
push eax
push ebx
call fcn.0047de4e
mov al, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x20]
mov word [ebx + esi*2], di
push edi
mov byte [ebp - 0x20], al
call fcn.004042bd
lea eax, [ebp - 0x20]
mov dword [ebp - 4], edi
push eax
push 0xffffffffffffffff
push ebx
push 0x3a8
call fcn.0041a894
lea eax, [ebp - 0x20]
push eax
call fcn.0041a734
mov esi, eax
mov eax, dword [ebp - 0x1c]
add esp, 0x14
cmp eax, edi
jne 0x41a9f0
mov eax, 0x4f4d38
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004dc7f7
push ebx
call fcn.004dcc0d
or dword [ebp - 4], 0xffffffff
pop ecx
push 1
lea ecx, [ebp - 0x20]
call fcn.004042bd
mov eax, esi
jmp 0x41aa1b
push ebx
call fcn.004dcc0d
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41aff2
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x74], edi
je 0x41b032
call fcn.0041b94f
test eax, eax
je 0x41b038
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x41b3a8
push edi
push edi
call fcn.0047c8f5
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x90], eax
je 0x41b032
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
pop esi
leave
ret
mov eax, dword [esi + 0x98]
cmp eax, edi
je 0x41b032
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x98]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
push edi
neg edx
push edx
mov eax, dword [esi + 0x98]
push dword [ebp - 8]
mov ecx, dword [eax]
push dword [ebp - 4]
push edi
push dword [esi + 0x50]
push dword [esi + 0x4c]
push edi
push edi
push dword [esi + 0x78]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x41b032
push edi
push edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
pop eax
jmp 0x41b034

Function at 0x41b095
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.004e317c
push dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41b13e
call fcn.004e317c
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x41b13e
call fcn.004e317c
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41b13e
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0xc]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41b13a
test ebx, ebx
je 0x41b13a
push edi
push eax
push ebx
call fcn.0047bb20
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.0041aba6
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop ebx
jmp 0x41b140
xor edi, edi
jmp 0x41b12e
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x41bea8
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
mov eax, 0x4e86dc
call fcn.0047b598
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
cmp dword [esi + 4], 0xffffffff
jne 0x41c016
xor ebx, ebx
push ebx
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x41bee2
xor eax, eax
jmp 0x41c01b
push edi
lea ecx, [ebp - 0x1c]
push 4
push ecx
push 0x1006
push 0xffff
push eax
mov dword [ebp - 0x1c], 0x2710
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004dc6dc
mov eax, dword [0x52ba98]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
cmp di, bx
jne 0x41bf8e
push 0x3a
lea ecx, [ebp - 0x10]
call fcn.004dcb35
mov esi, eax
cmp esi, ebx
jle 0x41bf80
push esi
lea eax, [ebp + 0xc]
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.004d5f81
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004dc7a7
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004dc66e
inc esi
lea eax, [ebp + 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.004d5f5e
push dword [ebp + 8]
call fcn.0047bf26
pop ecx
mov edi, eax
lea ecx, [ebp + 8]
call fcn.004dc66e
mov esi, dword [ebp - 0x18]
jmp 0x41bf9a
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
call fcn.004dc7a7
jmp 0x41bf7b
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
call fcn.004dc7a7
cmp di, bx
jne 0x41bfa2
push 0x50
pop edi
push edi
mov word [ebp - 0x2c], 2
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 0x14]
mov word [ebp - 0x2a], ax
pop edi
movsx eax, byte [ecx]
cmp eax, 0x2f
jle 0x41bfd0
cmp eax, 0x3a
jge 0x41bfd0
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x28], eax
jmp 0x41bfe7
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x41bfe4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x41bfcb
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x2c]
push 0x10
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
mov esi, eax
lea ecx, [ebp - 0x14]
neg esi
sbb esi, esi
mov byte [ebp - 4], bl
inc esi
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dc66e
jmp 0x41c019
push 1
pop esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x41c055
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
mov eax, 0x4e86f8
call fcn.0047b598
sub esp, 0x810
mov eax, dword [0x52ba98]
push ebx
push edi
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0x50
je 0x41c0c9
push edi
push dword [ebp + 0x10]
call fcn.0041bea8
test eax, eax
je 0x41c1d2
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004dc7f7
cmp dword [ebp + 0xc], edi
je 0x41c11b
push dword [ebp + 0xc]
lea eax, [ebp - 0x81c]
push dword [ebp - 0x10]
push str.POST__s_HTTP_1.1_r_n_s_r_n
push eax
call fcn.0047c0a0
add esp, 0x10
jmp 0x41c132
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004e27fa
test eax, eax
je 0x41c0a8
cmp dword [ebp + 8], 3
jne 0x41c0fc
push dword [ebp - 0x1c]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.0041bea8
test eax, eax
jne 0x41c0a8
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dc66e
xor eax, eax
jmp 0x41c1ec
push dword [ebp - 0x10]
lea eax, [ebp - 0x81c]
push str.POST__s_HTTP_1.1_r_n_r_n
push eax
call fcn.0047c0a0
add esp, 0xc
lea eax, [ebp - 0x81c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [sym.imp.WS2_32.dll_send]
cmp eax, edi
mov dword [ebp + 0x10], eax
jle 0x41c179
mov eax, 0x1000
cmp dword [ebp + 0x10], eax
jg 0x41c15a
mov eax, dword [ebp + 0x10]
push 0
push eax
lea eax, [ebp + edi - 0x81c]
push eax
push dword [ebx + 4]
call esi
test eax, eax
jl 0x41c179
sub dword [ebp + 0x10], eax
add edi, eax
cmp dword [ebp + 0x10], 0
jg 0x41c14d
mov eax, dword [ebp + 0x18]
xor edi, edi
test eax, eax
mov dword [ebp + 0x10], eax
jle 0x41c1af
mov eax, 0x1000
cmp dword [ebp + 0x10], eax
jg 0x41c192
mov eax, dword [ebp + 0x10]
push 0
push eax
mov eax, dword [ebp + 0x14]
add eax, edi
push eax
push dword [ebx + 4]
call esi
test eax, eax
jl 0x41c1af
sub dword [ebp + 0x10], eax
add edi, eax
cmp dword [ebp + 0x10], 0
jg 0x41c185
cmp dword [ebp + 0x10], 0
pop esi
jne 0x41c1cf
mov ecx, ebx
call fcn.0041c361
cmp eax, 0x64
mov dword [ebp - 0x18], eax
jne 0x41c1cf
mov ecx, ebx
call fcn.0041c361
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dc66e
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x41c1fc
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
mov eax, 0x4e8714
call fcn.0047b598
sub esp, 0x810
mov eax, dword [0x52ba98]
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0x50
je 0x41c270
push esi
push dword [ebp + 0x10]
call fcn.0041bea8
test eax, eax
je 0x41c337
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004dc7f7
cmp dword [ebp + 0xc], esi
je 0x41c2c2
push dword [ebp + 0xc]
lea eax, [ebp - 0x81c]
push dword [ebp - 0x10]
push str.GET__s_HTTP_1.1_r_n_s_r_n
push eax
call fcn.0047c0a0
add esp, 0x10
jmp 0x41c2d9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.004e27fa
test eax, eax
je 0x41c24f
cmp dword [ebp + 0x10], 3
jne 0x41c2a3
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x14]
call fcn.0041bea8
test eax, eax
jne 0x41c24f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dc66e
xor eax, eax
jmp 0x41c351
push dword [ebp - 0x10]
lea eax, [ebp - 0x81c]
push str.GET__s_HTTP_1.1_r_n_r_n
push eax
call fcn.0047c0a0
add esp, 0xc
lea eax, [ebp - 0x81c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
test ebx, ebx
jle 0x41c318
mov eax, 0x1000
cmp ebx, eax
jg 0x41c2f8
mov eax, ebx
push 0
push eax
lea eax, [ebp + esi - 0x81c]
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jl 0x41c316
add esi, eax
sub ebx, eax
jmp 0x41c2e9
test ebx, ebx
pop ebx
jne 0x41c334
mov ecx, edi
call fcn.0041c361
cmp eax, 0x64
mov dword [ebp - 0x18], eax
jne 0x41c334
mov ecx, edi
call fcn.0041c361
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dc66e
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x421059
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
mov esi, ecx
lea ecx, [ebp - 4]
push edi
lea eax, [esi + 0x28]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x421153
push ebx
lea ebx, [edi + 1]
push ebx
call fcn.004dcbe4
push ebx
push 0
push eax
mov dword [esi], eax
call fcn.0047b7a0
add esp, 0x10
lea eax, [esi + 0x28]
push dword [esi]
push edi
push dword [ebp - 4]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
pop ebx
je 0x421153
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.0042118d
test eax, eax
je 0x421153
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov word [esi + 0xa], ax
mov eax, dword [ebp - 0x2c]
shr ecx, 0x10
mov word [esi + 8], cx
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0xe], ax
mov eax, dword [ebp - 0x28]
mov word [esi + 0xc], cx
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0x12], ax
mov eax, dword [ebp - 0x24]
mov word [esi + 0x10], cx
mov ecx, eax
mov word [esi + 0x16], ax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
lea eax, [esi + 0x230]
shr ecx, 0x10
mov word [esi + 0x14], cx
push eax
push 0x527308
mov ecx, esi
call fcn.004211cd
lea eax, [esi + 0x640]
mov ecx, esi
push eax
push 0x5272f8
call fcn.004211cd
lea eax, [esi + 0x438]
mov ecx, esi
push eax
push str.ProductName
call fcn.004211cd
push 1
pop eax
jmp 0x421155
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x421950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov byte [ebp - 1], bl
cmp dword [esi + 0x4c], ebx
je 0x421982
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x64
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42197d
mov byte [ebp - 1], 1
cmp dword [esi + 0x4c], ebx
jne 0x421986
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x4219a6
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push esi
push 0x422e8a
push ebx
push ebx
call fcn.0047c8f5
add esp, 0x18
mov dword [esi + 0x4c], eax
pop esi
pop ebx
leave
ret