joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4023f0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x402481
mov ecx, dword [esp + 0xc]
push ebx
push ebp
lea eax, [esp + 0xc]
push edi
push eax
push ecx
mov dword [esp + 0x18], 0
call fcn.00414ad8
mov eax, dword [esi + 0x1c]
mov ebp, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
sub eax, ebp
sub ecx, ebx
test edx, edx
je 0x402435
mov edx, dword [edx + 4]
jmp 0x402437
xor edx, edx
mov edi, dword [esp + 0x10]
push eax
push ecx
push 0
push 0
push edx
push edi
call fcn.00414ad2
mov edx, dword [esi + 0x48]
mov ebx, dword [0x4223e0]
push 0
push edx
mov dword [esp + 0x20], eax
call ebx
mov eax, dword [esi + 0x48]
mov ebp, dword [0x4223b0]
push 1
push eax
call ebp
mov ecx, dword [esi + 0x4c]
push 0
push ecx
call ebx
mov edx, dword [esi + 0x4c]
push 1
push edx
call ebp
push edi
call fcn.00414acc
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 0x14

Function at 0x402540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
push ebx
push esi
mov dword [ebp - 4], ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x212]
mov word [ebp - 0x214], si
mov word [ebp - 0x41c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x41a]
lea edx, [ebp - 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x41c]
push eax
push ecx
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0x208
call dword [0x422338]
lea eax, [ebp - 0x41c]
lea ecx, [ebp - 0x214]
push eax
push str._smodules360inst.exe
push 0x104
push ecx
call dword [0x4222e4]
lea edx, [ebp - 0x214]
push edx
call fcn.00414b7a
add esp, 0x14
test eax, eax
jne 0x4025f3
lea esp, [ebp - 0x630]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp + 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x622]
mov word [ebp - 0x624], si
cmp ebx, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x402616
xor edi, edi
jmp 0x402645
push ebx
call dword [0x4220e8]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00417920
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [0x4220ec]
xor esi, esi
lea eax, [ebp - 0x214]
push edi
push eax
push str.__s___s
lea ecx, [ebp - 0x624]
push 0x104
push ecx
call dword [0x4222e4]
mov ecx, dword [ebp - 4]
add esp, 0x14
lea edx, [ebp - 0x624]
push esi
push esi
push esi
push edx
call fcn.00402490
lea esp, [ebp - 0x630]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x402690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
push esi
push ebx
lea eax, [edi + 0x20]
mov dword [edi + 0x70], 1
push eax
call dword [0x4223a4]
test eax, eax
je 0x4026dd
mov dword [0x42eb84], 1
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [0x4223b0]
push 0
call dword [0x4223e8]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
push esi
lea edx, [edi + 0x30]
push ebx
push edx
call dword [0x4223a4]
test eax, eax
je 0x4027c1
mov eax, dword [edi + 4]
mov esi, dword [0x42eb84]
push 0
push eax
call dword [0x4223b0]
cmp esi, 4
je 0x4027b9
mov ecx, dword [0x42eb3c]
mov edx, dword [0x4221b4]
test ecx, ecx
mov dword [0x42eb84], 2
jne 0x402728
mov ecx, edx
mov eax, dword [0x42eb2c]
test eax, eax
jne 0x402733
mov eax, edx
push ecx
push eax
mov ecx, edi
call fcn.004029b0
test eax, eax
jne 0x40275a
mov eax, dword [0x42eaac]
test eax, eax
jne 0x40274e
mov eax, dword [0x4221b4]
push eax
mov ecx, edi
call fcn.00402540
test eax, eax
je 0x4027b9
mov eax, dword [0x42eafc]
test eax, eax
jne 0x40276d
mov eax, dword [0x4221b4]
mov dword [ebp + 0x10], eax
jmp 0x402770
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x402778
xor ebx, ebx
jmp 0x4027a8
push eax
call dword [0x4220e8]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00417920
mov ecx, dword [ebp + 0x10]
mov ebx, esp
push esi
push ebx
push 0xffffffffffffffff
push ecx
push 0
push 0
mov word [ebx], 0
call dword [0x4220ec]
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
push ebx
push edx
push eax
call fcn.004140e0
add esp, 0xc
push 0
call dword [0x4223e8]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4029b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push esi
cmp ebx, edx
push edi
mov dword [ebp - 8], ecx
je 0x402b6c
cmp byte [ebx], 0
je 0x402b6c
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
mov word [ebp - 0x210], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x61e]
mov word [ebp - 0x620], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 8]
lea ecx, [ebp - 0x620]
push eax
lea edx, [ebp - 4]
push ecx
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [ebp - 4], 1
mov dword [ebp + 8], 0x208
call dword [0x422338]
push ebx
call dword [0x4220e8]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00417920
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [0x4220ec]
mov esi, dword [0x4222e4]
lea eax, [ebp - 0x620]
push edi
push eax
push str._smodules_s
lea ecx, [ebp - 0x210]
push 0x104
push ecx
call esi
add esp, 0x14
lea edx, [ebp - 0x210]
push edx
call dword [0x42234c]
test eax, eax
je 0x402b6c
lea eax, [ebp - 0x210]
push eax
call fcn.00414b7a
add esp, 4
test eax, eax
je 0x402b6c
mov ebx, dword [ebp + 0xc]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x416]
mov word [ebp - 0x418], 0
rep stosd dword es:[edi], eax
test ebx, ebx
stosw word es:[edi], ax
je 0x402b2b
cmp byte [ebx], 0
je 0x402b2b
push ebx
call dword [0x4220e8]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00417920
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [0x4220ec]
lea ecx, [ebp - 0x210]
push edi
push ecx
push str.__s___s
lea edx, [ebp - 0x418]
push 0x104
push edx
call dword [0x4222e4]
add esp, 0x14
jmp 0x402b48
lea eax, [ebp - 0x210]
lea ecx, [ebp - 0x418]
push eax
push str.__s_
push 0x104
push ecx
call esi
add esp, 0x10
mov ecx, dword [ebp - 8]
push 0
push 0
lea edx, [ebp - 0x418]
push 0
push edx
call fcn.00402490
lea esp, [ebp - 0x62c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esp, [ebp - 0x62c]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x403a50
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
xor edi, edi
test eax, eax
jne 0x403a63
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x429680
push eax
call dword [0x4222bc]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x403a7d
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4222c0]
push 2
push 0
push ebx
call esi
push ebx
call dword [0x4222c4]
push 0
push 0
push ebx
mov ebp, eax
call esi
add esp, 0x1c
test ebp, ebp
jle 0x403aec
lea edi, [ebp + 2]
push edi
call dword [0x4222c8]
mov esi, eax
add esp, 4
test esi, esi
jne 0x403ab9
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov edx, ecx
push ebx
mov dword [eax], edi
xor eax, eax
mov edi, esi
push 1
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push esi
rep stosb byte es:[edi], al
call dword [0x4222cc]
mov eax, dword [esp + 0x28]
add esp, 0x10
mov edi, 1
mov dword [eax], esi
push ebx
call dword [0x4222d0]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4051a0
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [esp + 0x48]
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, 0x915
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esi + 8]
lea edx, [esi + 0x48]
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x48]
mov eax, 0x800
mov dword [esp + 0x34], edx
lea ecx, [esi + 0x2148]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
lea edx, [esi + 0x2348]
mov eax, 0x80
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
lea ecx, [esi + 0x1048]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
lea edx, [esp + 8]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esi + 0x2048]
push eax
push edi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x28], pe_nt_image_headers32
mov dword [esp + 0x38], ecx
call dword [0x4222dc]
add esp, 4
push eax
push edi
call dword [0x422410]
test eax, eax
je 0x40528c
mov eax, dword [esp + 0x14]
cmp eax, 3
je 0x40525e
cmp eax, 4
je 0x40525e
cmp eax, 1
jne 0x40528c
xor ecx, ecx
mov dword [esi + 4], eax
mov dword [esi + 0x2448], ecx
mov dword [esi + 0x244c], ecx
mov cx, word [esp + 0x20]
mov dword [esi + 0x2450], 0xffffffff
mov word [esi], cx
pop edi
mov eax, 1
pop esi
add esp, 0x3c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x3c
ret
Function at 0x4052a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4052b0
xor eax, eax
pop esi
pop ecx
ret
push edi
lea eax, [esi + 0x5d538]
push str.MetalinkFile
push eax
call dword [0x4222a0]
mov edi, eax
add esp, 8
test edi, edi
je 0x4052ef
push str.MetalinkFile
mov word [edi], 0
call dword [0x4222dc]
lea eax, [edi + eax*2]
push eax
call dword [0x4222a4]
add esp, 8
mov dword [esi + 0x2694], eax
mov ecx, esi
call fcn.00409ea0
test eax, eax
pop edi
jne 0x4052fe
pop esi
pop ecx
ret
push 0
push 0
push 1
push 0
call dword [0x4220cc]
test eax, eax
mov dword [esi + 0x2464], eax
je 0x405345
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0
push esi
push 0x4056f0
push 0
push 0
mov dword [esi + 0x5d100], 8
call dword [0x4222a8]
add esp, 0x18
mov dword [esi + 0xc], eax
mov eax, 1
pop esi
pop ecx
ret

Function at 0x406440
Capabilities:
Send data

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0x26e0]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi + 0x20]
mov dword [esi + 0x28], 2
cmp dword [edx + 4], 1
je 0x4064cd
mov eax, dword [edi + 0x2480]
test eax, eax
je 0x4064fb
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [0x422050]
mov edx, dword [edi + 0x2484]
mov eax, dword [edi + 0x2480]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [0x422424]
test eax, eax
je 0x4064b6
mov edx, dword [esi + 0xc]
push edx
call dword [0x422080]
pop edi
mov eax, 1
pop esi
ret 4
call dword [0x4220e0]
cmp eax, 0x3e5
jne 0x406505
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [esi], 0
jne 0x4064e6
mov eax, dword [esi + 4]
test eax, eax
je 0x4064e6
mov dword [esi + 0x18], eax
pop edi
mov eax, 1
pop esi
ret 4
push 1
push ecx
mov ecx, edi
mov dword [esi + 0x28], 0
call fcn.00407a80
test eax, eax
je 0x406505
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x406c40
Capabilities:
Send data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x26e0]
mov esi, dword [eax + ebx*4]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [ecx + 4], 1
je 0x406cd0
mov eax, dword [edi + 0x2480]
test eax, eax
je 0x406d07
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], 0
push edx
call dword [0x422050]
mov ecx, dword [edi + 0x2484]
mov edx, dword [edi + 0x2480]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x1c]
push ecx
push edx
push eax
call dword [0x422424]
test eax, eax
je 0x406cb8
mov ecx, dword [esi + 0xc]
push ecx
call dword [0x422080]
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
call dword [0x4220e0]
xor edx, edx
cmp eax, 0x3e5
sete dl
pop edi
pop esi
mov eax, edx
pop ebx
ret 4
cmp dword [esi], 0
jne 0x406cea
mov eax, dword [esi + 4]
test eax, eax
je 0x406cea
mov dword [esi + 0x18], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
push 1
push ebx
mov ecx, edi
mov dword [esi + 0x28], 4
call fcn.00407a80
test eax, eax
jne 0x406d07
push ebx
mov ecx, edi
call fcn.00407560
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
Function at 0x407030
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
push ebp
mov eax, dword [ebx + 0x26e0]
push esi
push edi
mov esi, dword [eax + ecx*4]
mov ecx, 0xa
xor eax, eax
lea ebp, [esi + 0x8044]
lea edx, [esi + 0x40]
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, 0x2000
mov edi, edx
mov dword [ebp], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x8040]
lea edi, [esi + 0x805c]
test eax, eax
mov dword [esi + 0x8058], edx
mov dword [edi], 0x8000
je 0x4070c0
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
sub edx, ecx
mov ecx, dword [eax + 0x14]
sbb ecx, dword [eax + 0x1c]
sub edx, dword [eax + 8]
sbb ecx, dword [eax + 0xc]
mov eax, edx
add eax, 1
adc ecx, 0
ja 0x4070ab
cmp eax, 0x8000
jbe 0x4070ba
mov eax, 0x8000
mov dword [esp + 0x14], 0
jmp 0x407101
mov dword [esp + 0x14], ecx
jmp 0x407101
mov eax, dword [ebx + 0x5d108]
mov ecx, dword [ebx + 0x5d10c]
cmp eax, 0xffffffff
jne 0x4070d5
cmp ecx, eax
je 0x407103
mov edx, dword [ebx + 0x5d118]
sub eax, edx
mov edx, dword [ebx + 0x5d11c]
sbb ecx, edx
ja 0x4070ee
cmp eax, 0x8000
jbe 0x4070fd
mov eax, 0x8000
mov dword [esp + 0x14], 0
jmp 0x407101
mov dword [esp + 0x14], ecx
mov dword [edi], eax
mov eax, dword [esi + 0xc]
push eax
call dword [0x422050]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], 9
cmp dword [ecx + 4], 1
je 0x407148
mov edx, dword [esi + 0x1c]
push esi
push 1
push ebp
push edx
call dword [0x422434]
test eax, eax
je 0x40717a
mov eax, dword [esi + 0xc]
push eax
call dword [0x422080]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov ecx, dword [edi]
mov edx, dword [esi + 0x8058]
mov eax, dword [esi + 0x1c]
push edi
push ecx
push edx
push eax
call dword [0x422430]
test eax, eax
je 0x40717a
mov ecx, dword [esi + 0xc]
push ecx
call dword [0x422080]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
call dword [0x4220e0]
cmp eax, 0x3e5
jne 0x407196
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push edx
call fcn.00407560
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x4076a0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, ecx
push ebx
mov dword [ebp - 4], eax
add eax, 0x61858
xor ebx, ebx
push esi
cmp word [eax], bx
push edi
je 0x4076c4
mov ebx, eax
jmp 0x407778
cmp word [0x42c3e4], 0
jne 0x407773
mov al, byte [0x42bf74]
mov ecx, 0x208
mov byte [ebp - 0x838], al
xor eax, eax
lea edi, [ebp - 0x837]
lea edx, [ebp - 0x838]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x823
stosw word es:[edi], ax
push ecx
push edx
push 0
stosb byte es:[edi], al
call fcn.00413140
add esp, 0xc
test eax, eax
jne 0x407769
lea eax, [ebp - 0x838]
test eax, eax
jne 0x40771d
xor edi, edi
jmp 0x407756
lea ecx, [ebp - 0x838]
push ecx
call dword [0x4220e8]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00417920
mov edi, esp
push esi
push edi
lea edx, [ebp - 0x838]
push 0xffffffffffffffff
push edx
push 0
push 0
mov word [edi], 0
call dword [0x4220ec]
push 0x824
push 0x42c3e4
push edi
call fcn.00413190
add esp, 0xc
cmp word [0x42c3e4], 0
je 0x407778
mov ebx, 0x42c3e4
push 0x10000000
push 0
push 0
push 0
push ebx
call dword [0x422464]
mov esi, dword [ebp + 8]
test eax, eax
mov dword [esi + 0x14], eax
je 0x4078c7
mov edx, dword [esi + 0x20]
xor edi, edi
xor ebx, ebx
mov dword [ebp + 8], 3
cmp word [edx + 0x2348], di
lea ecx, [edx + 0x2348]
je 0x4077b7
mov ebx, ecx
cmp word [edx + 0x2048], 0
lea ecx, [edx + 0x2048]
je 0x4077c9
mov edi, ecx
test ebx, ebx
jne 0x4077dd
mov ecx, dword [ebp - 4]
add ecx, 0x60610
cmp word [ecx], bx
je 0x4077dd
mov ebx, ecx
test edi, edi
jne 0x4077f1
mov ecx, dword [ebp - 4]
add ecx, 0x60710
cmp word [ecx], di
je 0x4077f1
mov edi, ecx
mov ecx, 1
cmp dword [edx + 4], ecx
jne 0x4077fe
mov dword [ebp + 8], ecx
push 0x4057f0
push eax
call dword [0x42243c]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x20]
push esi
add eax, 0x2148
mov ecx, dword [edx + 0x26d8]
mov edx, dword [ebp + 8]
push ecx
mov cx, word [eax - 0x2148]
push edx
mov edx, dword [esi + 0x14]
push edi
push ebx
push ecx
push eax
push edx
call dword [0x422444]
test eax, eax
mov dword [esi + 0x18], eax
je 0x4078c7
mov eax, dword [ebp - 4]
cmp word [eax + 0x60810], 0
lea ebx, [eax + 0x60810]
je 0x4078b3
test ebx, ebx
mov dword [ebp - 0x14], 3
jne 0x407864
mov dword [ebp - 0x10], ebx
jmp 0x40789a
push ebx
call dword [0x42205c]
lea eax, [eax + eax + 2]
mov dword [ebp + 8], eax
add eax, 3
and al, 0xfc
call fcn.00417920
mov ecx, dword [ebp + 8]
mov edi, esp
push 0
push 0
push ecx
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov byte [edi], 0
call dword [0x4220d8]
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x14]
lea edx, [ebp - 0x14]
push 0xc
push edx
push 0x26
push eax
mov dword [ebp - 0xc], 0x42bf74
call dword [0x422440]
mov eax, 1
lea esp, [ebp - 0x844]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esp, [ebp - 0x844]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4078e0
Capabilities:
Send data
Send http request

Disassembly:
mov eax, 0x103c
call fcn.00417920
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x2480]
push edi
test eax, eax
mov dword [esp + 0x10], ebx
mov ebp, 0x429728
je 0x407908
mov ebp, str.POST
mov ax, word [0x42bf04]
mov esi, dword [esp + 0x1050]
mov word [esp + 0x4c], ax
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x4e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x4c]
mov dword [esp + 0x1c], 0x429714
mov dword [esp + 0x20], 0
lea ecx, [eax + 0x1048]
add eax, 0x48
push ecx
push eax
push 0x429708
push 0x7ff
push edx
call dword [0x4222e4]
mov ecx, dword [ebx + 0x62cbc]
add esp, 0x14
test ecx, ecx
mov eax, 0x8400c300
je 0x407973
mov eax, 0x8408c300
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 4], 4
jne 0x407981
or eax, 0x803000
mov ecx, dword [esi + 0x18]
push esi
lea edx, [esp + 0x20]
push eax
push edx
push 0
lea eax, [esp + 0x5c]
push str.HTTP_1.1
push eax
push ebp
push ecx
call dword [0x42245c]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x407a65
mov edi, dword [0x422414]
lea edx, [esp + 0x18]
push 4
push edx
push 2
push eax
mov dword [esp + 0x28], 0x3a98
call edi
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x14]
push 4
push eax
push 0x41
push ecx
mov dword [esp + 0x24], 1
call edi
mov ebp, eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
push 0xa2d0
mov dword [esp + 0x28], 0x28
call fcn.0041795c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x407a33
mov ecx, 0x28b4
xor eax, eax
mov edi, ebx
push ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
push 0xa2cf
push ebx
push esi
call fcn.00407b80
push ebx
mov dword [esp + 0x30], ebx
call dword [0x4222dc]
add esp, 4
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1c]
push esi
push 1
lea edx, [esp + 0x2c]
push 0
push edx
push eax
call dword [0x422460]
test ebx, ebx
mov esi, eax
je 0x407a56
push ebx
call fcn.00414b0e
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x103c
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x103c
ret 4
Function at 0x40b100
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1218
call fcn.00417920
mov eax, dword [esp + 0x121c]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 8], ebx
jne 0x40b126
xor eax, eax
pop ebx
add esp, 0x1218
ret
lea eax, [esp + 0xc]
lea ecx, [esp + 0x21c]
push eax
push 0x1000
push ecx
call fcn.00420440
test eax, eax
jne 0x40b149
pop ebx
add esp, 0x1218
ret
push ebp
push esi
mov ebp, dword [esp + 0x14]
push edi
mov ecx, 0x81
mov eax, 0
lea edi, [esp + 0x22]
mov word [esp + 0x20], bx
rep stosd dword es:[edi], eax
shr ebp, 2
stosw word es:[edi], ax
mov dword [esp + 0x10], ebx
je 0x40b20f
lea edi, [esp + 0x228]
mov edx, dword [edi]
push edx
push 0
push 0x410
call dword [0x422090]
mov esi, eax
test esi, esi
je 0x40b1e9
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push 4
push ecx
push esi
call fcn.0042043a
test eax, eax
je 0x40b1e2
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push 0x103
push edx
push eax
push esi
call fcn.00420434
test eax, eax
je 0x40b1e2
mov ecx, dword [esp + 0x1230]
mov edx, dword [esp + 0x122c]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call dword [0x422278]
add esp, 0xc
test eax, eax
je 0x40b200
push esi
call dword [0x4220d0]
inc ebx
add edi, 4
cmp ebx, ebp
jb 0x40b17b
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1218
ret
push esi
call dword [0x4220d0]
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1218
ret

Function at 0x40b220
Capabilities:
Get file version info

Disassembly:
mov eax, 0x400c
call fcn.00417920
push ebx
push ebp
push esi
mov esi, dword [esp + 0x401c]
xor ebx, ebx
cmp esi, ebx
je 0x40b30a
cmp dword [esp + 0x4020], ebx
je 0x40b30a
mov ebp, dword [esp + 0x4024]
cmp ebp, ebx
je 0x40b30a
push edi
mov ecx, 0xfff
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bx
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0041788c
cmp eax, ebx
pop edi
je 0x40b30a
cmp eax, 0x3fff
ja 0x40b30a
lea ecx, [esp + 0x18]
push ecx
push eax
push ebx
push esi
call fcn.00417886
test eax, eax
je 0x40b30a
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x20]
push 0x429a0c
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call fcn.00417880
test eax, eax
je 0x40b30a
mov eax, dword [esp + 0xc]
xor edx, edx
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
mov ecx, dword [esp + 0x4028]
shr eax, 0x10
push edx
push eax
push str._d._d._d._d
push ebp
push ecx
call dword [0x4222e4]
add esp, 0x1c
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x400c
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400c
ret