joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485bb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x6f4e3c]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov edx, 0x20019
or edx, dword [ebp + 0x10]
push esi
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x485c44
mov dword [ebp - 0x1c], 0
mov eax, dword [esi]
sub esp, 0x30
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
lea edi, [ebp - 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x485c64
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
mov word [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebp - 0x1c]
add eax, 0xffffffff
mov dword [esi + 4], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x485c4a
test eax, eax
js 0x485c4a
mov dword [ebp - 0x14], 0x104
lea edx, [esi + 8]
lea ebx, [ebp - 0x14]
push edi
push 0
push 0
push 0
push ebx
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x485c4a
jmp 0x485c50

Function at 0x485ce0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
lea ecx, [edx - 1]
mov dword [esi + 4], ecx
test edx, edx
jle 0x485d2d
test eax, eax
je 0x485d2d
mov dword [ebp - 0x14], 0x104
lea edx, [esi + 8]
lea edi, [ebp - 0x1c]
lea ebx, [ebp - 0x14]
push edi
push 0
push 0
push 0
push ebx
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x485d33
mov word [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x486c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x210
mov ebx, dword [ebp + 8]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x208], eax
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov eax, dword [0x8fd62c]
test eax, eax
setne cl
cmp dword [0x8fd630], 0
setne dl
test esi, esi
je 0x486d1d
and cl, dl
jne 0x486d1d
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov eax, dword [0x8fd644]
test al, 1
je 0x486de8
mov ecx, dword [0x8fd640]
test ecx, ecx
je 0x486d18
mov eax, esp
push 0xc
push eax
push esi
push edi
call ecx
test eax, eax
je 0x486d18
mov eax, dword [esp]
cmp eax, ebx
jae 0x486d18
mov ecx, dword [esp + 4]
add ecx, eax
cmp ecx, ebx
jbe 0x486d18
mov dword [0x8fd62c], eax
mov dword [0x8fd630], ecx
mov eax, dword [0x8fd62c]
test eax, eax
je 0x486d68
cmp eax, ebx
jae 0x486d68
cmp dword [0x8fd630], ebx
jbe 0x486d68
mov esi, esp
push 0x208
push 0
push esi
call fcn.006030b0
add esp, 0xc
push 0
push 0x24
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x486dcb
push esi
push str._sexplorer.exe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042e32f
add esp, 0x10
mov esi, eax
jmp 0x486dd0
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x486db9
mov esi, eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, esp
push 0xc
push ecx
push esi
push eax
call sub.PSAPI.DLL_GetModuleInformation
test eax, eax
je 0x486db9
mov eax, dword [esp]
cmp eax, ebx
jae 0x486db9
add eax, dword [esp + 4]
cmp eax, ebx
ja 0x486d2d
mov eax, esp
push 0x208
push 0
push eax
call fcn.006030b0
add esp, 0xc
mov esi, 0xffffffff
mov ecx, dword [esp + 0x208]
xor ecx, ebp
call fcn.00517c1a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
or eax, 1
mov dword [0x8fd644], eax
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x486e0e
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x486e26
push 0x6529fc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x8fd640], eax
jmp 0x486ceb
xor ecx, ecx
mov dword [0x8fd640], ecx
jmp 0x486ceb
Function at 0x4876c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00488190
cmp eax, 4
jge 0x4876d2
xor eax, eax
jmp 0x487748
mov esi, dword [ebp + 8]
call fcn.004884a0
cmp eax, 6
jg 0x487703
cmp byte [esi + 0xb], 0
jns 0x4876e7
mov esi, dword [esi]
push 0
push 0
push 0
push esi
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg al
jmp 0x487748
call fcn.004885d0
test al, al
je 0x48773a
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
cmp byte [esi + 0xb], 0
jns 0x48771d
mov esi, dword [esi]
sub esp, 0x14
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call fcn.004873d0
add esp, 0x14
jmp 0x487748
push esi
push 0x150a
call fcn.00487020
add esp, 8
pop esi
pop ebp
ret
Function at 0x487ad0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [0x8fd8d4]
test al, 1
je 0x487b30
movzx eax, word [0x8fd8b0]
cmp eax, 0xc
ja case.0x487afc.1
xor esi, esi
jmp dword [eax*4 + 0x652b48]
mov esi, 2
jmp case.0x487afc.0
mov esi, 4
jmp case.0x487afc.0
mov esi, 1
jmp case.0x487afc.0
mov esi, 3
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.00517c1a
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
or eax, 1
mov dword [0x8fd8d4], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp], xmm0
mov dword [esp + 0x20], 0
mov eax, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x20]
mov dword [0x8fd8d0], eax
movaps xmm0, xmmword [esp]
movaps xmm1, xmmword [esp + 0x10]
movups xmmword [0x8fd8c0], xmm1
movups xmmword [0x8fd8b0], xmm0
jmp 0x487aee
Function at 0x4886c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x8fd8a8], 0
je 0x4886f6
mov bl, byte [0x8fd8ac]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x652a78
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov dword [0x8fd8a8], eax
push 0x10
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4886dc
mov esi, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x20], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test edi, edi
je 0x4886dc
mov esi, eax
test eax, eax
je 0x4886dc
push edi
call fcn.00517c03
add esp, 4
mov ebx, eax
push edi
push esi
push eax
call fcn.006025b0
add esp, 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0x6391f0
push ebx
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
test eax, eax
je 0x48878c
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x488795
xor esi, esi
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
call fcn.00517c15
add esp, 4
test edi, edi
je 0x4886dc
cmp esi, 0x9fff5
seta al
cmp dword [ebp - 0x1c], 0x2959d6a5
seta cl
and cl, al
cmp esi, 0xafff4
seta al
or al, cl
mov byte [0x8fd8ac], al
jmp 0x4886dc
Function at 0x4887e0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x28]
push 0x1d
push str..._.._base_win_wmi.cc
push str.CreateLocalWmiConnection
push esi
call fcn.00472ef0
add esp, 0x10
lea ecx, [ebp - 0x18]
push esi
call fcn.004ba560
mov eax, dword [0x8fd8d8]
test al, 1
je 0x488948
mov dword [ebp - 0x28], 0
push esi
push 0x652de0
push 1
push 0
push 0x69d360
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4888fa
mov dword [ebp - 0x2c], 0
mov edi, dword [ebp - 0x28]
lea esi, [ebp - 0x30]
mov ecx, esi
push 0xa
push 0x652df0
call fcn.004bc220
mov eax, dword [ebp - 0x30]
mov ecx, dword [edi]
sub esp, 0x24
lea edx, [ebp - 0x2c]
mov dword [esp + 0x20], edx
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
call dword [ecx + 0xc]
mov edi, eax
mov ecx, esi
call fcn.004bc260
test edi, edi
js 0x4888fe
cmp byte [ebp + 8], 0
je 0x4888db
mov eax, dword [ebp - 0x2c]
sub esp, 0x20
movaps xmm0, xmmword [0x652da0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 3
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4888fe
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov eax, dword [ecx]
mov dword [ecx], edx
test eax, eax
je 0x488916
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov bl, 1
jmp 0x488900
xor ebx, ebx
jmp 0x488918
xor ebx, ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x488918
mov dword [ebp - 0x2c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x488918
mov bl, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x48892c
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
call fcn.004ba730
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
or eax, 1
mov dword [0x8fd8d8], eax
lea ecx, [ebp - 0x18]
call fcn.004ba670
jmp 0x488821
Function at 0x4893a0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x2d28
call fcn.00517f10
mov edi, dword [ebp + 8]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x2d20], eax
xor ecx, ecx
test edi, edi
je 0x48957d
cmp dword [ebp + 0xc], 0
je 0x48957d
mov eax, dword [ebp + 0xc]
add eax, 0xffffffff
cmp eax, 0x7ffffffd
mov ecx, 0x7ffffffd
cmovb ecx, eax
mov eax, edi
neg eax
mov dword [esp + 8], eax
add ecx, 1
mov dword [esp + 0x10], ecx
xor ebx, ebx
mov cl, 1
jmp 0x48942f
xor edi, edi
mov esi, dword [esp]
mov ebx, dword [esp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
mov edi, dword [ebp + 8]
jne 0x489579
cmp ebx, 0xf
lea eax, [ebx + 1]
setb cl
mov ebx, eax
cmp eax, 0x10
je 0x48957d
mov dword [esp + 0xc], ecx
push ebx
push 0x652ec0
push 0x200
lea esi, [esp + 0x2b2c]
push esi
call fcn.00488ef0
sub esp, 0xc
movaps xmm0, xmmword [0x64a240]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x48941b
mov dword [esp + 4], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
push 0x2710
push 0
mov esi, eax
lea ebx, [esp + 0x418]
push ebx
call fcn.006030b0
add esp, 0xc
push 0
lea eax, [esp + 0x18]
push eax
push 0x2710
push ebx
push 0xc
lea eax, [esp + 0x2c]
push eax
push 0x2d1400
mov dword [esp + 0x1c], esi
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x489400
push 0x3e8
push 0
lea esi, [esp + 0x30]
push esi
call fcn.006030b0
add esp, 0xc
push esi
push 1
push dword [esp + 0x430]
lea eax, [esp + 0x41c]
push eax
call fcn.004bc280
add esp, 0x10
cmp dword [ebp + 0xc], 0
jle 0x489557
xor eax, eax
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 4]
nop
movzx edx, byte [esp + eax + 0x28]
test dl, dl
je 0x489568
mov byte [edi + eax], dl
add ecx, 0xffffffff
add eax, 1
cmp dword [esp + 0x10], eax
jne 0x489520
mov edx, ecx
neg edx
not ecx
mov edi, 1
cmp dword [ebp + 0xc], eax
cmovne ecx, edx
mov byte [ecx], 0
mov esi, dword [esp]
jne 0x489409
jmp 0x489561
mov byte [edi], 0
mov esi, dword [esp]
mov ebx, dword [esp + 4]
xor edi, edi
jmp 0x489409
mov byte [edi + eax], 0
mov edi, 1
mov esi, dword [esp]
jmp 0x489409
mov ecx, dword [esp + 0xc]
and cl, 1
mov ebx, ecx
mov ecx, dword [esp + 0x2d20]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x489fe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov esi, dword [ebp + 8]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
test esi, esi
je 0x48a0f9
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x20
jb 0x48a0f9
lea eax, [ebp - 0x114]
push 0x104
push 0
push eax
call fcn.006030b0
add esp, 0xc
lea edi, [ebp - 0x218]
push 0x104
push edi
call fcn.00488c40
add esp, 8
test al, al
jne 0x48a071
push 0x104
push edi
call fcn.00488f80
add esp, 8
test al, al
jne 0x48a071
push 0x104
push edi
call fcn.004893a0
add esp, 8
test al, al
jne 0x48a071
push 0x104
push edi
call fcn.004895a0
add esp, 8
test al, al
je 0x48a0db
push edi
call fcn.0061fdf0
add esp, 4
test eax, eax
je 0x48a097
nop
cmp byte [ebp + eax - 0x219], 0x20
jne 0x48a097
mov byte [ebp + eax - 0x219], 0
add eax, 0xffffffff
jne 0x48a080
mov ecx, 0xfffffefc
mov eax, 0x100
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp byte [ebp + ecx - 0x10], 0
je 0x48a10e
cmp byte [ebp + ecx - 0xf], 0
je 0x48a116
cmp byte [ebp + ecx - 0xe], 0
je 0x48a11d
cmp byte [ebp + ecx - 0xd], 0
je 0x48a124
cmp byte [ebp + ecx - 0xc], 0
je 0x48a12b
add eax, 0xfffffffb
add ecx, 5
jne 0x48a0b0
cmp byte [ebp - 0x114], 0
je 0x48a19e
lea ecx, [ebp - 0x114]
mov edx, esi
push ebx
call fcn.0048a1d0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, ebx
neg ecx
mov eax, ecx
jmp 0x48a12d
mov esi, ebx
add eax, 3
jmp 0x48a12d
mov esi, ebx
add eax, 2
jmp 0x48a12d
mov esi, ebx
add eax, 1
jmp 0x48a12d
mov esi, ebx
mov ecx, 0x104
sub ecx, eax
lea edx, [ebp - 0x114]
lea edi, [ecx + edx]
add edi, 0xfffffefc
xor edx, edx
nop word cs:[eax + eax]
nop
movzx ebx, byte [ebp + edx - 0x218]
test bl, bl
je 0x48a174
mov byte [edi + edx + 0x104], bl
add edx, 1
cmp eax, edx
jne 0x48a150
lea eax, [ebp - 0x114]
add ecx, eax
jmp 0x48a180
lea edi, [ebp - 0x114]
add ecx, edi
cmp eax, edx
jne 0x48a187
add ecx, edx
add ecx, 0xffffffff
jmp 0x48a189
add ecx, edx
mov ebx, esi
mov esi, dword [ebp + 8]
mov byte [ecx], 0
cmp byte [ebp - 0x114], 0
jne 0x48a0e8
mov dword [ebp - 0x114], 0x3264694d
mov dword [ebp - 0x110], 0x6c696146
mov word [ebp - 0x10c], 0x6465
mov byte [ebp - 0x10a], 0
jmp 0x48a0e8
Function at 0x48a360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov esi, dword [ebp + 8]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
test esi, esi
je 0x48a4cf
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x20
jb 0x48a4cf
lea eax, [ebp - 0x114]
push 0x104
push 0
push eax
call fcn.006030b0
add esp, 0xc
lea edi, [ebp - 0x218]
push 0x104
push edi
call fcn.00489830
add esp, 8
test al, al
jne 0x48a3d1
push 0x104
push edi
call fcn.00489c90
add esp, 8
test al, al
je 0x48a491
mov ecx, 0xfffffefc
mov eax, 0x100
nop dword [eax + eax]
cmp byte [ebp + ecx - 0x10], 0
je 0x48a410
cmp byte [ebp + ecx - 0xf], 0
je 0x48a418
cmp byte [ebp + ecx - 0xe], 0
je 0x48a41f
cmp byte [ebp + ecx - 0xd], 0
je 0x48a426
cmp byte [ebp + ecx - 0xc], 0
je 0x48a42d
add eax, 0xfffffffb
add ecx, 5
jne 0x48a3e0
jmp 0x48a491
mov esi, ebx
neg ecx
mov eax, ecx
jmp 0x48a42f
mov esi, ebx
add eax, 3
jmp 0x48a42f
mov esi, ebx
add eax, 2
jmp 0x48a42f
mov esi, ebx
add eax, 1
jmp 0x48a42f
mov esi, ebx
mov ecx, 0x104
sub ecx, eax
lea edx, [ebp - 0x114]
lea edi, [ecx + edx]
add edi, 0xfffffefc
xor edx, edx
nop word [eax + eax]
movzx ebx, byte [ebp + edx - 0x218]
test bl, bl
je 0x48a474
mov byte [edi + edx + 0x104], bl
add edx, 1
cmp eax, edx
jne 0x48a450
lea eax, [ebp - 0x114]
add ecx, eax
jmp 0x48a480
lea edi, [ebp - 0x114]
add ecx, edi
cmp eax, edx
jne 0x48a487
add ecx, edx
add ecx, 0xffffffff
jmp 0x48a489
add ecx, edx
mov ebx, esi
mov esi, dword [ebp + 8]
mov byte [ecx], 0
cmp byte [ebp - 0x114], 0
jne 0x48a4be
mov dword [ebp - 0x114], 0x3264694d
mov dword [ebp - 0x110], 0x6c696146
mov word [ebp - 0x10c], 0x6465
mov byte [ebp - 0x10a], 0
lea ecx, [ebp - 0x114]
mov edx, esi
push ebx
call fcn.0048a1d0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x48b370
Capabilities:
Create thread
Parse url

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0xc], 0
je 0x48b39f
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, ecx
lea edi, [ecx + 0x5d530]
push 0x6530e8
push edi
call fcn.0060384c
add esp, 8
test eax, eax
je 0x48b3d0
mov word [eax], 0
add eax, 0x1a
push eax
call fcn.0061d786
add esp, 4
mov dword [esi + 0x2694], eax
mov eax, dword [esi + 0x62ce0]
cmp eax, dword [esi + 0x62cdc]
jne 0x48b4bc
lea eax, [esi + 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
push 0x2454
push 0
push eax
call fcn.006030b0
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
lea eax, [esi + 0x18]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x20
lea eax, [esi + 0x2158]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x100
lea eax, [esi + 0x58]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x800
lea eax, [esi + 0x1058]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x800
lea eax, [esi + 0x2358]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x80
lea eax, [esi + 0x2058]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x80
push edi
call fcn.006208d5
add esp, 4
lea ecx, [ebp - 0x4c]
push ecx
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x48b389
mov eax, dword [ebp - 0x40]
cmp eax, 4
ja 0x48b389
mov ecx, 0x1a
bt ecx, eax
jae 0x48b389
mov dword [esi + 0x2458], 0
mov byte [esi + 0x245c], 0
movzx ecx, word [ebp - 0x34]
mov word [esi + 0x10], cx
mov dword [esi + 0x14], eax
mov dword [esi + 0x2460], 0xffffffff
sub esp, 0x10
movaps xmm0, xmmword [0x6392f0]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2464], eax
mov bl, 1
test eax, eax
je 0x48b38b
mov dword [ebp - 0x4c], 0
mov dword [esi + 0x5d0f8], 8
lea eax, [ebp - 0x4c]
push eax
push 0
push esi
push 0x48b530
push 0
push 0
call fcn.0060fae0
add esp, 0x18
mov dword [esi + 0xc], eax
jmp 0x48b38b
Function at 0x48cdf0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov esi, esp
mov edi, dword [ebp + 8]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esi + 0x28], eax
lea eax, [ecx + 0x61850]
xor edx, edx
mov dword [esi + 4], ecx
cmp word [ecx + 0x61850], 0
cmove eax, edx
sub esp, 0x14
movaps xmm0, xmmword [0x6530c0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0x14], eax
test eax, eax
je 0x48cf64
mov ebx, eax
mov edi, dword [edi + 0x20]
lea eax, [edi + 0x2348]
mov dword [esi + 0xc], eax
push eax
call fcn.006208d5
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x10], edi
lea eax, [edi + 0x2048]
mov dword [esi + 8], eax
push eax
call fcn.006208d5
add esp, 4
cmp dword [esi], 0
je 0x48cf7c
test eax, eax
jne 0x48ce99
mov eax, dword [esi + 4]
lea edi, [eax + 0x60708]
push edi
call fcn.006208d5
add esp, 4
test eax, eax
cmove edi, eax
mov dword [esi + 8], edi
xor eax, eax
mov ecx, dword [esi + 0x10]
cmp dword [ecx + 4], 1
setne al
lea edi, [eax + eax]
add edi, 1
push 0x48bf00
push ebx
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
movzx ecx, word [eax]
add eax, 0x2148
push edx
mov ebx, dword [esi + 4]
push dword [ebx + 0x26d4]
push edi
mov edi, edx
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
push dword [edx + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0x18], eax
test eax, eax
je 0x48cf64
add ebx, 0x60808
push ebx
call fcn.006208d5
add esp, 4
test eax, eax
je 0x48cf60
mov dword [esi + 0x14], 3
xor edi, edi
cmp eax, 0x3ffffffe
jg 0x48cf42
lea ecx, [eax + eax]
add ecx, 2
add eax, eax
add eax, 5
and eax, 0xfffffffc
call fcn.00517f10
mov edi, esp
and edi, 0xfffffff0
mov esp, edi
mov byte [edi], 0
push 0
push 0
push ecx
push edi
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove edi, eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0x642f62
lea eax, [esi + 0x14]
push 0xc
push eax
push 0x26
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov bl, 1
jmp 0x48cf66
xor ebx, ebx
mov ecx, dword [esi + 0x28]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esi], eax
mov eax, dword [esi + 4]
lea edi, [eax + 0x60608]
push edi
call fcn.006208d5
add esp, 4
test eax, eax
cmove edi, eax
mov eax, dword [esi]
mov dword [esi + 0xc], edi
test eax, eax
jne 0x48ce99
jmp 0x48ce7f
Function at 0x48d040
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x6f4e3c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x26d8]
mov edi, dword [ecx + eax*4]
mov dword [edi + 0x28], 2
mov ecx, dword [edi + 0x20]
cmp dword [ecx + 4], 1
jne 0x48d090
cmp dword [edi], 0
je 0x48d0d3
mov dword [edi + 0x28], 0
mov ecx, esi
push 1
push eax
call fcn.0048e8c0
mov bl, 1
test al, al
je 0x48d0ee
jmp 0x48d0f0
mov bl, 1
cmp dword [esi + 0x2480], 0
je 0x48d0f0
mov dword [ebp - 0x14], 0
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x2484]
push dword [esi + 0x2480]
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x48d0e1
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x48d0f0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x48d077
mov dword [edi + 0x18], ecx
mov bl, 1
jmp 0x48d0f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x48d0f0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4