joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004610
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x10004617
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x100046ed
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100276f8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100276f8]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100276f8]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100276f8]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100276f8]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100276f8]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100276f8]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100276f8]
add ecx, 8
sub edx, 8
dec esi
jne 0x10004630
pop edi
test edx, edx
je 0x1000470a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x100276f8]
inc ecx
dec edx
jne 0x100046f1
not eax
pop esi
ret

Function at 0x10004710
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100276f8]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x100276f8]
mov dword [edx + 8], ecx
ret

Function at 0x10004760
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x100276f8]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x100276f8]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret

Function at 0x10004e90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x10004ec6
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10004ebc
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x10004ed7
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.10011280
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret
Function at 0x10004f00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x10004f33
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10004f2e
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x10004f5e
mov eax, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x10004f45
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x14]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.10011280
add esp, 0xc
add ebx, edi
mov dword [esi + 0x1c], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x10004f73
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x10004f6d
cmp byte [esi + 8], 0
je 0x10004f6d
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x10005010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x10005057
cmp byte [esi + 1], 0
je 0x1000505f
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x10005072
cmp byte [esi + 1], 0
je 0x10005066
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
sub ebx, dword [esi + 0xc]
mov dword [ebp - 4], ebx
jmp 0x1000507a
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x10005031
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x1000507a
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], eax
mov ebx, eax
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x1000508c
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.1000fefe
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x100050a9
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0xffffffff
cmp edi, eax
jbe 0x100051bd
jmp 0x100050c9
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x100050d8
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x100050ef
mov ebx, 0x404
cmp byte [esi], 0
je 0x10005114
cmp byte [esi + 1], 0
je 0x100051bd
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x10005117
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebx
je 0x10005140
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000513b
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x10005169
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x10005151
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.10011280
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x100051bd
lea eax, [ebx - 3]
test eax, eax
js 0x100051ab
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x1000519f
cmp byte [eax + ecx + 1], 0x4b
jne 0x1000519f
cmp byte [eax + ecx + 2], 5
jne 0x1000519f
cmp byte [eax + ecx + 3], 6
je 0x100051a5
test eax, eax
jns 0x10005180
jmp 0x100051ab
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100051bd
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x100050c0
mov eax, dword [ebp - 0x10]
push eax
call fcn.1000fb71
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100060d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
jne 0x10006178
cmp dword [esi + 4], 0xffffffff
jne 0x10006178
push edi
lea edi, [esi + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006100
sub eax, edx
mov al, byte [eax + esi + 0x13f]
cmp al, 0x5c
je 0x10006131
cmp al, 0x2f
je 0x10006131
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10006120
mov ax, word [0x10027cf0]
mov word [edi], ax
push 0x20
call fcn.1000fe3e
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add esp, 4
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.100051e0
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ebp
ret 8
mov eax, 0x1000000
pop ebp
ret 8

Function at 0x10006790
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1002b4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100067c4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100067c4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebx]
test al, al
je 0x1000687e
push esi
mov esi, ebx
mov ecx, ebx
cmp al, 0x2f
je 0x100067db
cmp al, 0x5c
jne 0x100067dd
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x100067d3
cmp esi, ebx
je 0x10006811
sub esi, ebx
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10011280
lea ecx, [ebp - 0x20c]
push ecx
push edi
mov byte [ebp + esi - 0x20c], 0
call fcn.10006790
add esp, 0x14
mov byte [ebp - 0x108], 0
test edi, edi
je 0x10006830
lea edx, [ebp - 0x108]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10006826
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006834
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10006844
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x108]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop esi
cmp eax, 0xffffffff
jne 0x1000687e
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000f688
mov esp, ebp
pop ebp
ret
Function at 0x100072e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebx + 8]
sub esp, 0xc
test eax, eax
je 0x1000741d
mov ecx, dword [ebx + 0x10]
push esi
push edi
push 1
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
movzx edx, word [ebx]
mov eax, dword [ebx + 4]
push 5
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [ebx + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, esi
mov dword [ebp - 8], esi
call fcn.10006d00
mov edi, eax
mov eax, esi
mov dword [ebp - 4], 0
call fcn.10006ce0
xor edx, edx
cmp dx, word [eax]
jae 0x100073fc
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 4], 0
jne 0x1000735f
mov eax, dword [ebx + 8]
push 5
push eax
jmp 0x10007362
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x100073fc
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, dword [edi + 0x14]
je 0x1000738f
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x10007372
jmp 0x100073fc
test esi, esi
je 0x100073fc
mov ecx, dword [ebx + 0x10]
push 1
push ecx
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [edi + 0x18]
mov edx, 0xffff
cmp word [eax], dx
jne 0x100073b4
add eax, 4
jmp 0x100073bf
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100073b4
cmp word [eax], dx
jne 0x100073d0
add eax, 4
jmp 0x100073db
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100073d0
movzx edx, word [eax]
inc dword [ebp - 4]
lea edi, [edx + eax + 5]
mov eax, dword [ebp - 8]
and edi, 0xfffffffc
call fcn.10006ce0
movzx eax, word [eax]
cmp dword [ebp - 4], eax
jl 0x10007351
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [ebx + 0xc]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop edi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10007450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10007468
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000749a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x10007496
cmp esi, eax
jae 0x1000749a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10007488
cmp esi, eax
jb 0x100074a0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x100074b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
mov ecx, 0x1002d860
call fcn.10021244
mov ebx, eax
mov dword [ebp - 4], 1
test ebx, ebx
je 0x10007564
test esi, esi
jne 0x10007564
mov eax, dword [ebp + 8]
shr eax, 4
inc eax
push esi
movzx ecx, ax
push ecx
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
je 0x10007548
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10007542
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10007542
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
add eax, esi
and ecx, 0xf
jbe 0x10007531
cmp esi, eax
jae 0x10007535
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10007523
cmp esi, eax
jb 0x10007539
xor eax, eax
jmp 0x10007542
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
mov esi, eax
test eax, eax
jne 0x1000756d
mov edi, dword [ebp - 4]
push edi
mov ecx, 0x1002d860
call fcn.10021244
mov ebx, eax
inc edi
mov dword [ebp - 4], edi
test ebx, ebx
jne 0x100074d5
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10007880
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x1002b4b0]
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
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x40f]
mov edi, ecx
mov dword [ebp - 0x414], ebx
push ebx
push eax
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x414], 0x400
mov byte [ebp - 0x410], bl
call fcn.10015750
add esp, 0xc
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x410]
push edx
push ebx
call dword [sym.imp.urlmon.dll_ObtainUserAgentString]
mov eax, dword [0x1002c690]
mov edx, dword [eax + 0xc]
mov ecx, 0x1002c690
call edx
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 4], ebx
test eax, 0xffff0000
jne 0x10007938
mov ecx, eax
movzx esi, cx
push esi
call fcn.100074b0
add esp, 4
cmp eax, ebx
je 0x10007958
push eax
mov eax, esi
call fcn.1000a670
jmp 0x10007958
lea eax, [ebp - 0x410]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10007941
sub eax, edx
lea edx, [ebp - 0x410]
push edx
mov ebx, edi
call fcn.1000a1a0
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.1000f688
mov esp, ebp
pop ebp
ret
Function at 0x10007e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x10007e75
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xd0], 0
cmp dword [edi + 0x60], 4
jne 0x10007e8c
or dword [edi + 0x40], 0x800000
push esi
lea eax, [edi + 0x10]
lea esi, [ebp - 4]
call fcn.10007820
mov esi, dword [edi + 0x40]
mov ecx, dword [edi + 0x6c]
mov eax, dword [eax]
mov edx, dword [edi + 0xc8]
push 0
push esi
push 0
push 0
push 0
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [edi + 0xcc], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop esi
test edx, edx
jg 0x10007ede
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push edi
push 0x10007cd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xd4], eax
mov esp, ebp
pop ebp
ret
Function at 0x10008ea0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1002b4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0
push 0
push 0
push str.HttpSendRequestEx
mov esi, ecx
mov dword [ebp - 0x40c], eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
jne 0x10008eef
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f688
mov esp, ebp
pop ebp
ret
push edi
push 4
push 0x61a8
push 2
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.58.96.170.72
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
jne 0x10008f40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f688
mov esp, ebp
pop ebp
ret
push 0
push 0x4000000
push 0
push 0
push 0
push esi
push 0x10027d70
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x10008f87
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, eax
call edi
push ebx
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f688
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0xffffffffffffffff
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x10008fb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f688
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x408]
push ecx
push 0x3ff
lea edx, [ebp - 0x404]
push edx
push esi
mov dword [ebp - 0x408], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10009016
mov eax, dword [ebp - 0x408]
mov byte [ebp + eax - 0x404], 0
lea eax, [ebp - 0x404]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10008ff0
mov ecx, dword [ebp - 0x40c]
sub eax, edx
push eax
lea eax, [ebp - 0x404]
call fcn.10009a40
cmp dword [ebp - 0x408], 0
ja 0x10008fb1
jmp 0x1000901c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1000f688
mov esp, ebp
pop ebp
ret
Function at 0x1000cdd0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021c20
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1002b4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.10015750
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov esi, dword [edx - 0xc]
add esp, 0xc
lea eax, [ebp - 0x11]
add esi, 8
push eax
mov eax, esi
lea edi, [ebp - 0x24]
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.1000ea40
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x11]
push ecx
mov eax, esi
lea edi, [ebp - 0x34]
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.1000ea40
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + 0x20]
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push ecx
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], esi
mov edx, dword [eax - 0xc]
push ebx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov esi, dword [ebp - 0x24]
cmp esi, ebx
jne 0x1000ce8a
xor eax, eax
jmp 0x1000ce99
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000ce90
sub eax, edx
mov ebx, dword [ebp + 0xc]
push esi
call fcn.1000a1a0
test edi, edi
jne 0x1000ceaa
xor eax, eax
jmp 0x1000ceb9
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ceb0
sub eax, edx
mov ebx, dword [ebp + 0x14]
push edi
call fcn.1000a1a0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp + 0x18]
movzx edx, word [ebp - 0x58]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
test edi, edi
je 0x1000cee0
push edi
call fcn.1000fd5b
add esp, 4
test esi, esi
je 0x1000ceed
push esi
call fcn.1000fd5b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1000d010
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021f0f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1002b4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [edi + 0x10]
push esi
mov dword [edi], vtable.FCHttpRequest.0
call fcn.10007690
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x1002c690]
mov edx, dword [eax + 0xc]
mov ecx, 0x1002c690
call edx
add eax, 0x10
mov dword [edi + 0x64], eax
mov byte [ebp - 4], 1
mov eax, dword [0x1002c690]
mov edx, dword [eax + 0xc]
mov ecx, 0x1002c690
call edx
add eax, 0x10
mov dword [edi + 0x6c], eax
mov byte [ebp - 4], 2
mov eax, dword [0x1002c690]
mov edx, dword [eax + 0xc]
mov ecx, 0x1002c690
call edx
add eax, 0x10
mov dword [edi + 0x78], eax
mov eax, dword [0x1002c690]
mov edx, dword [eax + 0xc]
mov ecx, 0x1002c690
call edx
add eax, 0x10
mov dword [edi + 0x7c], eax
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x84], ebx
lea eax, [edi + 0x8c]
push eax
mov dword [edi + 0x88], vtable.inner::FCAutoCSec.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x88], vtable.inner::CReceiveBuffer.0
mov dword [edi + 0xb8], 0xf
mov dword [edi + 0xb4], ebx
mov byte [edi + 0xa4], bl
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], ebx
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xd4], ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 9
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
call fcn.1000d500
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x6c]
push eax
lea ecx, [edi + 0x68]
push ecx
lea eax, [edi + 0x64]
push eax
push esi
call fcn.1000cdd0
mov ecx, edi
call fcn.1000d390
push ebx
mov dword [edi + 0xc4], eax
push ebx
push edi
push 0x1000d340
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xd0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x58], eax
mov eax, dword [edi + 0x44]
mov dword [edi + 0x5c], ebx
cmp eax, ebx
je 0x1000d184
mov edx, dword [edi + 8]
push ebx
push eax
mov eax, dword [edi + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10