joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc37dc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax]
jne 0xc37def
cmp ecx, eax
jne 0xc37def
mov ecx, ebx
call fcn.00c36d70
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], ecx
pop ebx
pop ebp
ret 0xc
cmp esi, ecx
je 0xc37ecd
push edi
mov edx, dword [esi]
mov dword [ebp + 0xc], edx
mov edx, dword [esi + 8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xc37e05
sub eax, edi
add eax, edx
mov ecx, 0x811c9dc5
cmp edx, eax
je 0xc37e30
lea esp, [esp]
movsx edi, byte [edx]
imul ecx, ecx, 0x1000193
inc edx
xor ecx, edi
cmp edx, eax
jne 0xc37e20
and ecx, 0x7fffffff
push 0x1f31d
push ecx
call fcn.00c77b30
imul edx, edx, 0x41a7
imul eax, eax, 0xb14
add esp, 8
sub edx, eax
jns 0xc37e5a
add edx, 0x7fffffff
mov ecx, dword [ebx + 0x20]
mov eax, ecx
and eax, edx
cmp dword [ebx + 0x24], eax
ja 0xc37e6f
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + eax*8 + 4], esi
lea ecx, [ecx + eax*8]
jne 0xc37e98
cmp dword [ecx], esi
jne 0xc37e90
mov edx, dword [ebx + 4]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov dword [ecx + eax*8 + 4], edx
jmp 0xc37ea0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0xc37ea0
cmp dword [ecx], esi
jne 0xc37ea0
mov edx, dword [esi]
mov dword [ecx], edx
cmp esi, dword [ebx + 4]
je 0xc37ec0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
push esi
mov dword [edx + 4], eax
call fcn.00c125e4
add esp, 4
dec dword [ebx + 8]
mov esi, dword [ebp + 0xc]
cmp esi, dword [ebp + 0x10]
jne 0xc37df8
pop edi
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0xc53e10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc7ca23
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0xcaf584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
call fcn.00c12640
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0xc53e95
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
mov dword [esi], vtable.google::protobuf::SourceCodeInfo_Location.0
call fcn.00c4e720
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov eax, 0xcb06e0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xc54b30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc7aaa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0xcaf584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
mov dword [esi], vtable.google::protobuf::FileDescriptorProto.0
call fcn.00c4e720
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov eax, 0xcb06e0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x80], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x84], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xc54fb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc7aaa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0xcaf584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
mov dword [esi], vtable.google::protobuf::DescriptorProto.0
call fcn.00c4e720
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 8], 0xcb06e0
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xc56fc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc7aaa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0xcaf584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
mov dword [esi], vtable.google::protobuf::UninterpretedOption.0
call fcn.00c4e720
fldz
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
fstp qword [esi + 0x30]
mov eax, 0xcb06e0
mov dword [esi + 0x18], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x44], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xc57110
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc7ca23
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0xcaf584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x48
call fcn.00c12640
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0xc571a3
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
mov dword [esi], vtable.google::protobuf::UninterpretedOption.0
call fcn.00c4e720
fldz
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
fstp qword [esi + 0x30]
mov eax, 0xcb06e0
mov dword [esi + 0x18], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x44], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408933
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
mov edx, edx
mov edx, 0x3c0ba9ce
call fcn.0040895e
xor dword [esi], eax
inc ecx
inc ecx
inc esi
sub esp, 4
mov dword [esp], edx
pop edx
sub ecx, edx
cmp esi, ebx
jne fcn.00408933
mov ecx, 0x96382fa9
and edx, ecx
ret
Function at 0x40de24
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x6f7d103a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x66d139b0
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10001340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000135b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001392
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1000138e
jmp 0x10001380
cmp esi, eax
jae 0x10001392
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001380
cmp esi, eax
jb 0x10001399
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
xor esi, esi
push 0x20000013
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 8
mov dword [ebp - 4], esi
call ebx
test eax, eax
je 0x100015a1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp ecx, 0xc8
jne 0x1000155e
cmp eax, esi
je 0x1000156a
cmp ecx, 0x12e
jne 0x100015a1
cmp eax, esi
jne 0x100015a1
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x20000005
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 8
mov dword [ebp - 4], esi
call ebx
test eax, eax
je 0x100015a1
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
or eax, 0xffffffff
pop esi
or edx, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100016e0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [ecx + 0x3c]
lea edx, [ebp - 8]
push edx
lea esi, [ecx + 0x48]
push esi
push 0x20000013
push eax
mov dword [ebp - 8], 4
mov dword [ebp - 4], 0
mov dword [esi], 0x194
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov esi, dword [esi]
cmp esi, 0xc8
je 0x1000172f
cmp esi, 0x130
je 0x1000172f
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100022f0
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025b78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10035b40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov esi, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
lea ebx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002340
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.10001f10
lea ecx, [ebp - 0x2c]
push esi
push ecx
mov dword [ebp - 4], 0
call fcn.10016e90
add esp, 8
test al, al
sete bl
cmp dword [ebp - 0x18], 8
jb 0x10002384
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10017686
add esp, 4
test bl, bl
jne 0x100023cf
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0x30]
push ecx
mov dword [esi + 0x40], eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov edx, dword [ebp - 0x30]
and dl, 4
sub dl, 4
movzx eax, dl
push 0
neg eax
push 0
sbb eax, eax
push 0
and eax, 4
push eax
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 [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0x38], eax
test eax, eax
jne 0x100023d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x4c], eax
xor al, al
jmp 0x100023dc
mov ecx, esi
call fcn.10001470
mov al, 1
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.10018356
mov esp, ebp
pop ebp
ret 8

Function at 0x10002680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
push 0x1388
mov edi, ecx
push eax
mov byte [edi + 0x5c], 0
call fcn.100022f0
test al, al
jne 0x100026a1
pop edi
pop ebp
ret 4
push ebx
push esi
push 0
push 0
push edi
push 0x100025a0
push 0
push 0
call fcn.100182b6
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x18
mov esi, eax
push 0x1388
push esi
call ebx
cmp eax, 0x102
jne 0x100026d5
push 0xffffffffffffffff
push esi
call ebx
test esi, esi
je 0x100026e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [edi + 0x5c]
pop esi
pop ebx
pop edi
pop ebp
ret 4
Function at 0x100026f0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025c00
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10035b40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002740
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001f10
push 1
push 0xffffffffffffffff
push 0x1002980c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.10001740
push 0x10029808
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.100025d0
or edi, 0xffffffff
mov byte [ebp - 4], 1
cmp esi, edi
je 0x1000286d
push esi
push 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10002290
mov edi, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], edi
jb 0x100027b0
mov edx, dword [eax]
jmp 0x100027b2
mov edx, eax
test edx, edx
jne 0x100027ba
xor eax, eax
jmp 0x100027cf
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100027c0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.10002160
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], edi
jb 0x100027ee
mov edx, dword [ebp - 0x48]
push edx
call fcn.10017686
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10002852
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
push eax
call fcn.10001820
lea esi, [eax + 0x10]
mov dword [ebp - 0x54], esi
push esi
lea ecx, [ebp - 0x4c]
push 0x10029800
push ecx
mov byte [ebp - 4], 3
call fcn.100022d0
mov edx, dword [ebp - 0x4c]
add esp, 0x10
push 0
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002852
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x50]
push 0
push 0x80
push 2
push 0
push 5
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10002890
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x18], 8
jb 0x100028a2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10017686
add esp, 4
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.10018356
mov esp, ebp
pop ebp
ret
Function at 0x100028c0
Capabilities:
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.10018ac0
mov eax, dword [0x10035b40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
push edi
mov dword [ebp - 0x200c], eax
jb 0x100028ec
mov eax, dword [eax]
push eax
call fcn.100026f0
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
jne 0x1000290e
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018356
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
cmp dword [esi + 0x54], ebx
je 0x10002929
mov eax, dword [esi + 0x3c]
push eax
mov ecx, esi
call fcn.10001510
mov ecx, dword [esi + 0x54]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esi + 0x60]
cmp dword [ecx], ebx
jne 0x100029ed
push 0x1fff
lea edx, [ebp - 0x2003]
push ebx
push edx
mov byte [ebp - 0x2004], bl
call fcn.10018af0
mov edx, dword [esi + 0x3c]
add esp, 0xc
lea eax, [ebp - 0x2008]
push eax
push 0x2000
lea ecx, [ebp - 0x2004]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, ebx
je 0x100029c3
mov ecx, dword [ebp - 0x2008]
cmp ecx, ebx
je 0x10002a0b
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x10002990
add dword [eax], ecx
adc dword [eax + 4], ebx
mov ecx, dword [ebp - 0x2008]
mov eax, dword [esi + 0x50]
add dword [eax], ecx
mov ecx, dword [ebp - 0x2008]
push ebx
lea eax, [ebp - 0x2008]
push eax
push ecx
lea edx, [ebp - 0x2004]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100029cc
mov eax, dword [esi + 0x60]
cmp dword [eax], ebx
je 0x10002934
jmp 0x100029ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x4c], eax
cmp dword [esi + 0x4c], 0xffffffff
jne 0x100029d8
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x4c], ecx
mov eax, dword [ebp - 0x200c]
cmp dword [eax + 0x14], 8
jb 0x100029e6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp edi, ebx
je 0x100029f8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018356
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.100016e0
test eax, eax
je 0x100029cc
cmp edi, ebx
je 0x10002a21
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10018356
mov esp, ebp
pop ebp
ret
Function at 0x10002a80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov eax, edx
push edi
mov byte [esi + 0x5c], 0
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002a94
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.10001f10
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ebx
push eax
mov ecx, esi
call fcn.100022f0
test al, al
jne 0x10002ac7
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
push 0
push 0
push esi
push 0x10002a40
push 0
push 0
mov dword [esi + 0x60], ecx
call fcn.100182b6
add esp, 0x18
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
push edi
call ebx
cmp eax, 0x102
jne 0x10002afb
push 0xffffffffffffffff
push edi
call ebx
test edi, edi
je 0x10002b06
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esi + 0x5c]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x10007e40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
jne 0x10007e4e
xor eax, eax
jmp 0x10007e64
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10007e54
sub eax, esi
sar eax, 1
pop esi
push eax
push edx
mov ecx, 0x10036d00
call fcn.10002160
push 0
push 0
push 0x10036d00
push 0x10007ba0
push 0
push 0
call fcn.100182b6
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret

Function at 0x10008070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 4]
mov ebx, 0xd5
push eax
lea ecx, [esi + 0xe0]
mov dword [ebp - 4], ebx
call fcn.10003680
lea ecx, [ebp - 4]
push ecx
lea ecx, [esi + 0x1ac]
mov dword [ebp - 4], ebx
call fcn.10003680
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [esi + 0xe0]
call fcn.10002b80
mov eax, dword [esi + 4]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [esi + 0x1ac]
call fcn.10002b80
lea eax, [esi + 0x294]
push eax
lea ecx, [esi + 0xe0]
call fcn.10004c80
lea ecx, [esi + 0x298]
push ecx
lea ecx, [esi + 0x1ac]
call fcn.10004c80
cmp dword [esi + 0x294], 0
jne 0x1000810e
mov edx, dword [esi + 0xe4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10009ca0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 0
push 0
push ecx
push eax
push 0
push 0
call fcn.100182b6
add esp, 0x18
test eax, eax
je 0x10009cc3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4

Function at 0x10009e10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 4]
mov ebx, 0xd5
push eax
lea ecx, [esi + 0xe0]
mov dword [ebp - 4], ebx
call fcn.10003680
lea ecx, [ebp - 4]
push ecx
lea ecx, [esi + 0x1ac]
mov dword [ebp - 4], ebx
call fcn.10003680
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [esi + 0xe0]
call fcn.10002b80
mov eax, dword [esi + 4]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [esi + 0x1ac]
call fcn.10002b80
lea ecx, [esi + 0x294]
push ecx
lea ecx, [esi + 0xe0]
call fcn.10004c80
lea edx, [esi + 0x298]
push edx
lea ecx, [esi + 0x1ac]
call fcn.10004c80
mov eax, dword [esi + 0xe4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x1b0]
push 0
push ecx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret