joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4610f0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x48fde8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x18], eax
push ebx
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0xc], eax
mov edi, edx
mov esi, ecx
mov byte [ebp - 8], al
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x54], edi
mov byte [ebp - 8], 0x10
call dword [0x4989cc]
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.00460b50
xor esi, esi
lea edx, [ebp - 0x44]
push 0x4805aa
mov dword [ebp - 0x28], esi
push edx
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], 2
call dword [0x4989d0]
add esp, 8
test al, al
jne 0x461176
cmp dword [ebp - 0x2c], 0x10
mov eax, dword [ebp - 0x40]
jae 0x461164
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x461278
cmp dword [ebp - 0x2c], 0x10
mov eax, dword [ebp - 0x40]
jae 0x461182
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x50], ecx
jne 0x4611bc
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea ecx, [ebp - 0x44]
mov dword [edi + 0xc], eax
call dword [0x4988bc]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
call fcn.00462527
mov esp, ebp
pop ebp
ret 4
movsx eax, word [ecx + 0xa]
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
mov dword [ebp - 0x48], 0
jle 0x4612a3
mov ebx, dword [ebp + 8]
jmp 0x4611e0
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebp - 0x48]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x4c]
mov esi, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp - 0x48], 0
mov word [ebp - 0x26], ax
jne 0x46121b
mov eax, dword [ebp - 0x28]
mov edx, edi
mov dword [edx], eax
xor eax, eax
test ebx, ebx
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
je 0x4612a3
jmp 0x461255
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], esi
mov esi, dword [ebx + 4]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
push edx
push eax
mov dword [ebp - 0x18], ecx
push esi
mov ecx, ebx
call fcn.00461960
push 1
mov ecx, ebx
mov edi, eax
call fcn.004619f0
mov dword [esi + 4], edi
mov ecx, dword [edi + 4]
mov dword [ecx], edi
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
movsx eax, word [edx + 0xa]
mov ecx, dword [ebp - 0x48]
cdq
and edx, 3
add eax, edx
add ecx, 1
sar eax, 2
cmp ecx, eax
mov dword [ebp - 0x48], ecx
jl 0x4611dd
jmp 0x4612a3
cmp dword [ebp - 0x30], 0xf
jbe 0x461285
mov esi, 2
jmp 0x4612a5
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x26], ax
mov ecx, dword [ebp - 0x28]
mov dword [edi], ecx
mov dword [edi + 4], ebx
mov eax, esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], esi
xor esi, esi
lea ecx, [ebp - 0x44]
call dword [0x4988bc]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.00462527
mov esp, ebp
pop ebp
ret 4
Function at 0x404243
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x445ade
call fcn.0042c3f4
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call fcn.00403baf
test eax, eax
je 0x404288
push 0x449564
lea ecx, [ebp - 0x18]
call fcn.00404102
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
call fcn.004124b0
pop ecx
mov byte [ebp - 0xd], 1
test eax, eax
je 0x40428b
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 1
je 0x40429c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040333d
cmp byte [ebp - 0xd], bl
je 0x4042af
push ebx
push ebx
push ebx
push dword [esi + 0x44]
push ebx
push ebx
call dword [0x449254]
call fcn.0042c4cc
ret

Function at 0x40487b
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x445ade
call fcn.0042c3f4
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call fcn.00404846
test eax, eax
je 0x4048c0
push 0x449648
lea ecx, [ebp - 0x18]
call fcn.00404102
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
call fcn.004124b0
pop ecx
mov byte [ebp - 0xd], 1
test eax, eax
je 0x4048c3
mov byte [ebp - 0xd], bl
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x14], 1
je 0x4048d8
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040333d
cmp byte [ebp - 0xd], bl
je 0x4048f8
mov eax, dword [esi + 0x40]
push ebx
push ebx
push 0x44962c
push eax
push ebx
push ebx
call dword [0x449254]
push eax
mov ecx, esi
call fcn.004042b5
call fcn.0042c4cc
ret

Function at 0x404e2e
Capabilities:
Check if file exists

Disassembly:
push 0x800
mov eax, 0x445d69
call fcn.0042c45d
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
and dword [ebp - 0x808], 0
push 0x44954c
lea ecx, [ebp - 0x804]
mov dword [ebp - 0x80c], edi
call fcn.00404102
mov eax, dword [ebp - 0x804]
xor esi, esi
add eax, 0xfffffff0
inc esi
push eax
mov dword [ebp - 4], esi
call fcn.00403590
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x7fc]
push eax
mov dword [ebp - 0x808], esi
call fcn.004138f0
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x404e9b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x800]
call fcn.00404102
push 0
push esi
lea ecx, [ebp - 0x7fc]
mov byte [ebp - 4], 4
call fcn.004037ee
mov esi, str._funshion.ini
push esi
call fcn.0042bd28
pop ecx
push eax
push esi
lea ecx, [ebp - 0x800]
call fcn.00404d73
push dword [ebp - 0x800]
call dword [0x449264]
test eax, eax
je 0x404f18
push dword [ebp - 0x800]
lea eax, [ebp - 0x7e0]
push 0x3e8
push eax
push dword [ebp - 0x804]
push 0x449760
push 0x449700
call dword [0x4491d8]
lea eax, [ebp - 0x7e0]
push eax
mov ecx, edi
call fcn.00403f3a
mov ecx, dword [ebp - 0x800]
add ecx, 0xfffffff0
call fcn.0040333d
mov ecx, dword [ebp - 0x804]
add ecx, 0xfffffff0
call fcn.0040333d
mov eax, edi
call fcn.0042c4e0
ret 4
Function at 0x404f3e
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x446c3e
call fcn.0042c45d
lea eax, [ebp - 0x2c]
push eax
call fcn.004136b0
pop ecx
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x404f60
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404102
xor esi, esi
push 0
inc esi
push esi
lea ecx, [ebp - 0x2c]
call fcn.004037ee
push dword [ebp - 0x30]
call dword [0x449264]
test eax, eax
je 0x404f97
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0040333d
mov eax, esi
call fcn.0042c4e0
ret
xor esi, esi
jmp 0x404f84

Function at 0x404f9b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x21c
mov eax, 0x445d9c
call fcn.0042c45d
mov edi, dword [ebp + 8]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x224], esi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
mov dword [ebp - 0x224], 0x104
call fcn.0042c660
add esp, 0xc
push 0x44954c
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x220], esi
call fcn.00404102
lea eax, [ebp - 0x220]
push eax
push 0xf003f
push esi
push str.SOFTWAREFunshionFunshion
push 0x80000002
mov dword [ebp - 4], esi
call dword [0x449004]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
push 0x4497dc
push dword [ebp - 0x220]
call dword [section..rdata]
test eax, eax
jne 0x405083
lea eax, [ebp - 0x218]
push eax
call fcn.0042bd28
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00403db1
mov esi, str._funshion.exe
push esi
call fcn.0042bd28
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.00404d73
push dword [ebp - 0x220]
call dword [0x449020]
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
push eax
call fcn.00403590
pop ecx
mov ecx, dword [ebp - 0x21c]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [edi], eax
call fcn.0040333d
mov eax, edi
call fcn.0042c4e0
ret 4

Function at 0x4050b0
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x445dcc
call fcn.0042c3f4
lea eax, [ebp - 0x14]
push eax
call fcn.00404f9b
push dword [eax]
call dword [0x449264]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.0040333d
inc bl
je 0x4050e6
xor eax, eax
jmp 0x405116
push 0x449648
lea ecx, [ebp - 0x10]
call fcn.00404102
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00412490
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040333d
xor eax, eax
test esi, esi
setne al
inc eax
call fcn.0042c4cc
ret
Function at 0x4055a6
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x445eeb
call fcn.0042c45d
mov edi, ecx
push 0x45d230
call fcn.00412490
pop ecx
test eax, eax
jne 0x405613
lea eax, [ebp - 0x2c]
push eax
call fcn.004136b0
pop ecx
xor esi, esi
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], esi
jb 0x4055da
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404102
push esi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004037ee
push esi
push esi
push esi
push dword [ebp - 0x30]
push esi
push esi
call dword [0x449254]
push eax
mov ecx, edi
call fcn.0040556f
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0040333d
call fcn.0042c4e0
ret

Function at 0x40944e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x45bce0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.00408ea8
mov ebx, eax
cmp ebx, esi
je 0x4094bf
lea ecx, [ebp - 0x214]
call fcn.00408e31
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c3e5
leave
ret 4
mov ebx, dword [0x449008]
jmp 0x4094dd
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0040944e
cmp eax, esi
jne 0x409524
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x4094c7
lea ecx, [ebp - 0x214]
call fcn.00408e31
push dword [ebp - 0x218]
mov ecx, edi
call fcn.00408e0f
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.00408e31
mov eax, esi
jmp 0x4094ae
Function at 0x4119b7
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x45bce0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004136b0
cmp dword [eax + 0x14], 8
pop ecx
jb 0x4119d9
mov eax, dword [eax]
push esi
push eax
call dword [0x449264]
push 0
push 1
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.004037ee
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042c3e5
leave
ret

Function at 0x4121cd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
push eax
push eax
push dword [ecx]
push eax
push eax
call dword [0x449254]
pop ebp
ret 4

Function at 0x41228e
Capabilities:
Check if file exists

Disassembly:
push 0x94
mov eax, 0x446e1b
call fcn.0042c45d
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
and dword [ebp - 0x9c], 0
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xa0], esi
call fcn.004128c0
xor ebx, ebx
mov edi, 0x44954c
inc ebx
push edi
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00404102
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x9c], ebx
call fcn.00404102
push 0
push 0x81
mov byte [ebp - 4], 2
call fcn.004032d7
pop ecx
pop ecx
test eax, eax
je 0x41230e
push 0x81
push eax
lea ecx, [ebp - 0x94]
call fcn.00403d67
push dword [ebp - 0x94]
lea ecx, [ebp - 0x2c]
call fcn.0040405b
push 0x1388
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.00412b50
push 0
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 2
call fcn.004037ee
cmp dword [ebp - 0x98], 0
je 0x4123cd
lea ecx, [ebp - 0x8c]
call fcn.004130f0
mov ecx, dword [ebp - 0x90]
push edx
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004121f7
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00403e22
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040333d
push dword [esi]
call dword [0x449264]
test eax, eax
jne 0x4123c5
push dword [esi]
lea ecx, [ebp - 0x2c]
call fcn.0040405b
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.00412c00
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004037ee
jmp 0x4123cd
push edi
mov ecx, esi
call fcn.00403f3a
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff0
call fcn.0040333d
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.00412970
mov eax, esi
call fcn.0042c4e0
ret 4

Function at 0x412431
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
push 3
push dword [esi]
call dword [0x4492d0]
and dword [esi + 8], 0
mov ecx, esi
pop esi
jmp fcn.004123f4

Function at 0x41244a
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [ecx + 4]
push esi
inc eax
push 5
cdq
pop esi
idiv esi
and dword [ecx + 8], 0
pop esi
mov dword [ecx + 4], edx
test edx, edx
jne 0x412466
jmp fcn.004123f4
ret
Function at 0x412f90
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00413490
add esp, 8
movzx edx, al
test edx, edx
jne 0x412fbb
xor al, al
jmp 0x413021
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x40], ecx
push 0
lea edx, [ebp - 8]
push edx
call dword [0x44935c]
mov eax, dword [ebp - 8]
and eax, 4
sub eax, 4
neg eax
sbb eax, eax
and eax, 4
mov dword [ebp - 4], eax
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.2__.NET_CLR_1.1.4322__.NET_CLR_2.0.50727_
call dword [0x449358]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
jne 0x413017
call dword [0x4491b8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x4c], eax
xor al, al
jmp 0x413021
mov ecx, dword [ebp - 0xc]
call fcn.00413030
mov al, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x4130f0
Capabilities:
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 8
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x20]
push eax
push 0x20000013
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x3c]
push edx
call dword [0x449364]
test eax, eax
je 0x413174
cmp dword [ebp - 0x20], 0xc8
jne 0x413165
cmp dword [ebp - 0x1c], 0
je 0x41317c
cmp dword [ebp - 0x20], 0x12e
jne 0x413174
cmp dword [ebp - 0x1c], 0
je 0x41317c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
jmp 0x4131e3
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 8
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x20000005
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [0x449364]
test eax, eax
jne 0x4131c2
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
jmp 0x4131e3
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x50], edx
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x54], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4131f0
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44700b
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x45bce0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x424], 0
mov ecx, 0x45d334
call fcn.00413440
movzx eax, al
test eax, eax
je 0x413353
mov dword [ebp - 0x418], 0x400
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x414], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x413]
push ecx
call fcn.0042c660
add esp, 0xc
push 0
lea edx, [ebp - 0x10]
push edx
push 0x400
lea eax, [ebp - 0x414]
push eax
push 0x10000001
call fcn.004440ce
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0x8007000e
je 0x4132a3
cmp dword [ebp - 0x41c], 0
jne 0x413353
push str.User_Agent:
mov ecx, 0x45d334
call fcn.00411bdd
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x420]
call fcn.00404a62
mov dword [ebp - 0x428], eax
mov edx, dword [ebp - 0x428]
mov dword [ebp - 0x42c], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x42c]
call fcn.0040345a
push eax
mov ecx, 0x45d334
call fcn.00411c89
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x420]
call fcn.00411856
push str._Funshion_
mov ecx, 0x45d334
call fcn.00411c89
push str.1.0.0.1
mov ecx, 0x45d334
call fcn.00411c89
push 0x44af54
mov ecx, 0x45d334
call fcn.00411c89
push 0x45d334
mov ecx, dword [ebp + 8]
call fcn.00413390
mov eax, dword [ebp - 0x424]
or eax, 1
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 8]
jmp 0x413372
push 0x45d334
mov ecx, dword [ebp + 8]
call fcn.00413390
mov ecx, dword [ebp - 0x424]
or ecx, 1
mov dword [ebp - 0x424], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042c3e5
mov esp, ebp
pop ebp
ret

Function at 0x413ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x413ab9
xor ecx, ecx
jne 0x413ab9
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [section..rdata]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x413b00
mov eax, dword [ebp - 0xc]
jmp 0x413b5d
cmp dword [ebp - 4], 1
je 0x413b13
cmp dword [ebp - 4], 2
je 0x413b13
mov eax, 0xd
jmp 0x413b5d
cmp dword [ebp + 0xc], 0
je 0x413b51
cmp dword [ebp - 8], 0
je 0x413b49
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x413b40
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x413b47
mov eax, 0xd
jmp 0x413b5d
jmp 0x413b51
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413da0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447200
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x45bce0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040405b
mov dword [ebp - 4], 0
mov ecx, dword [0x44af5c]
push ecx
push 0x44b1d8
lea ecx, [ebp - 0x48]
call fcn.004140b0
mov dword [ebp - 0x54], eax
push 0x44b1dc
lea ecx, [ebp - 0x4c]
call fcn.00404102
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], 0xffffffff
mov edx, dword [ebp - 0x54]
cmp edx, dword [0x44af5c]
je 0x413ec8
mov eax, dword [ebp - 0x54]
push eax
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004140e0
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x64]
call fcn.004036ae
push eax
lea ecx, [ebp - 0x4c]
call fcn.004040ed
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00403a4d
lea ecx, [ebp - 0x4c]
call fcn.0040345a
push eax
call dword [0x449264]
test eax, eax
jne 0x413eac
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x58]
call fcn.004039f6
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x58]
push ecx
push 0x44b1e0
lea edx, [ebp - 0x4c]
push edx
call fcn.00403fd9
add esp, 0xc
push 0
lea ecx, [ebp - 0x4c]
call fcn.0040345a
push eax
push 0
call dword [0x449250]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00411856
push 0
push 0x80
push 2
push 0
push 5
push 2
mov eax, dword [ebp + 8]
push eax
call dword [0x4490b4]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00411856
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00403a4d
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c3e5
mov esp, ebp
pop ebp
ret
Function at 0x4148d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4472ee
mov eax, dword fs:[0]
push eax
sub esp, 0x804
mov eax, dword [0x45bce0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x800], ecx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.004121e6
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00403f60
mov ecx, dword [ebp - 0x800]
add ecx, 0xc
call fcn.00403454
test eax, eax
jne 0x4149d2
mov ecx, dword [ebp - 0x800]
add ecx, 4
push ecx
push 0x44b348
mov edx, dword [ebp - 0x800]
add edx, 8
push edx
lea eax, [ebp - 0x7f0]
push eax
call fcn.00403f75
add esp, 0xc
mov dword [ebp - 0x804], eax
mov ecx, dword [ebp - 0x804]
mov dword [ebp - 0x808], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x808]
push edx
lea eax, [ebp - 0x7f4]
push eax
call fcn.00414ae0
add esp, 0xc
mov dword [ebp - 0x80c], eax
mov ecx, dword [ebp - 0x80c]
mov dword [ebp - 0x810], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x810]
push edx
lea ecx, [ebp - 0x14]
call fcn.00403f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7f4]
call fcn.00411856
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7f0]
call fcn.00411856
jmp 0x4149e4
mov eax, dword [ebp - 0x800]
add eax, 0xc
push eax
lea ecx, [ebp - 0x14]
call fcn.00403f60
lea ecx, [ebp - 0x14]
call fcn.0040345a
push eax
call dword [0x449264]
test eax, eax
je 0x414a32
lea ecx, [ebp - 0x14]
call fcn.0040345a
push eax
push 0x3e8
lea ecx, [ebp - 0x7ec]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0040345a
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040345a
push eax
mov ecx, dword [ebp + 8]
call fcn.0040345a
push eax
call dword [0x4491d8]
mov dword [ebp - 0x10], eax
jmp 0x414a57
mov ecx, dword [ebp + 0x14]
call fcn.00403454
mov dword [ebp - 0x7f8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00411856
mov eax, dword [ebp - 0x7f8]
jmp 0x414a84
lea edx, [ebp - 0x7ec]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.004040ed
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x7fc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00411856
mov eax, dword [ebp - 0x7fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0042c3e5
mov esp, ebp
pop ebp
ret 0x10