joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4644c0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Delete registry value
Query or enumerate registry value
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x5209be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push edi
push 0x5642f8
push 0x564298
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor ebx, ebx
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], bx
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
push 0x5711d0
push 0x564220
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHRegGetPathW]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov al, 0xa3
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], al
mov byte [esp + 0x18], al
lea eax, [esp + 8]
lea edx, [esp + 0x1c]
push eax
push ecx
push 1
push ebx
push edx
mov dword [esp + 0x30], 0x1a6fe369
mov word [esp + 0x34], 0xf28c
mov word [esp + 0x36], 0x4ad9
mov byte [esp + 0x39], 0xe6
mov byte [esp + 0x3a], 0x2b
mov byte [esp + 0x3b], 0xcb
mov byte [esp + 0x3c], 0x50
mov byte [esp + 0x3d], 0x80
mov byte [esp + 0x3e], 0x7c
mov byte [esp + 0x3f], 0xf1
mov dword [esp + 0x20], 0x59055df
mov word [esp + 0x24], 0x6bb0
mov word [esp + 0x26], 0x402a
mov byte [esp + 0x28], 0xba
mov byte [esp + 0x29], 0x48
mov byte [esp + 0x2a], 0x58
mov byte [esp + 0x2b], 0xbf
mov byte [esp + 0x2d], 0x43
mov byte [esp + 0x2e], 0x71
mov byte [esp + 0x2f], 0x9c
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [esp + 8], ebx
jne 0x4645f2
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
add esp, 0x240
ret
push esi
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, ebx
mov dword [esp + 0x248], ebx
je 0x46463b
mov ecx, dword [esp + 0x250]
lea eax, [esi + 8]
cmp ecx, ebx
mov dword [eax], ebx
je 0x464629
mov edx, dword [ecx]
push eax
push 0x564210
push ecx
call dword [edx]
mov dword [esi + 4], 0x527958
mov dword [esi + 0xc], ebx
mov dword [esi], 0x527930
jmp 0x46463d
xor esi, esi
mov eax, dword [esp + 0xc]
push esi
push eax
mov dword [esp + 0x250], 0xffffffff
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [esp + 0xc]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0xc]
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, dword [esp + 0x240]
mov eax, dword [esp + 0xc]
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x240
ret
Function at 0x465cc0
Capabilities:
Create thread

Disassembly:
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x465d24
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 4]
mov dword [eax + 0x10], edx
lea edx, [esp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
push fcn.00465d30
push 0
push 0
mov dword [eax], 1
mov dword [eax + 0x14], ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x465d24
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x465e90
Capabilities:
Allocate thread local storage

Disassembly:
mov al, byte [0x55ded4]
test al, al
je 0x465ebc
mov byte [0x55ded4], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x571258], eax
call fcn.00443630
call fcn.00411d50
mov ecx, eax
jmp fcn.00411d80
ret
Function at 0x466ad0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, ecx
push 0x11
call edi
shr eax, 8
test al, al
je 0x466b56
mov eax, dword [0x5a4b08]
test eax, eax
je 0x466aff
mov eax, dword [esi + 0x6780]
test eax, eax
je 0x466b56
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x466b56
push 0x12
call edi
movsx eax, ax
shr eax, 0x10
je 0x466b21
mov edx, dword [esi]
push 0x64
mov ecx, esi
call dword [edx + 0xa0]
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [esi + 0x6764]
cmp eax, 0xffffffff
jne 0x466b31
mov eax, 0x64
cmp word [esp + 0xc], 0
jle 0x466b3e
add eax, 5
jmp 0x466b41
add eax, 0xfffffffb
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xa0]
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x4697e0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x46987e
mov eax, dword [esi + 0x6c]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0xa260], 0
test eax, eax
jne 0x469838
mov eax, dword [esi + 4]
push 0
push eax
call edi
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
and eax, 0xbfffffff
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetParent]
push 1
push 0
push 6
mov ecx, esi
call fcn.00415920
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x58], 1
test eax, eax
je 0x469874
mov eax, dword [0x5c29e0]
test eax, eax
je 0x469865
push 0
mov ecx, esi
call fcn.0046dec0
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x469874
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
mov edx, dword [esi]
push 2
mov ecx, esi
call dword [edx + 0x78]
pop edi
pop esi
ret
Function at 0x46a5a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
mov eax, dword [0x58b510]
push esi
test eax, eax
push edi
mov esi, ecx
mov word [esp + 0x14], 3
je 0x46a6b5
mov eax, dword [0x5a48b4]
test eax, eax
jne 0x46a6b5
mov eax, dword [esi + 0x6794]
test eax, eax
je 0x46a6b5
cmp dword [esi + 0x6764], 0xffffffff
jne 0x46a6b5
call fcn.0046afb0
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x58
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 4
lea ecx, [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea edx, [esp + 0xc]
push eax
push ecx
push edx
push 0x56454c
mov edi, 0x60
push 0x564520
push SysReAllocStringLen
mov dword [esp + 0x20], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 8], edi
jne 0x46a6b5
mov eax, dword [esi + 0x6794]
lea edx, [esp + 0x14]
push edx
push 0
mov ecx, dword [eax]
push 0
push 0x3f
push eax
call dword [ecx + 0xd8]
test eax, eax
jne 0x46a6b5
mov ecx, 0x81
lea edi, [esp + 0x26]
mov word [esp + 0x24], ax
push ebx
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
stosw word es:[edi], ax
mov eax, dword [esp + 0xc]
push eax
push ebx
push 0x5644fc
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov dx, bx
mov ecx, esi
mov dword [esi + 0x6764], ebx
push 0
push edx
push 0xd
mov dword [esi + 0x6768], ebx
call fcn.00415920
pop ebx
pop edi
pop esi
add esp, 0x224
ret

Function at 0x46ad80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov esi, ecx
mov eax, dword [edi + 4]
cmp eax, 0x100
jne 0x46adf6
mov eax, dword [edi + 8]
add eax, 0xfffffff7
cmp eax, 0x72
ja case.0x46ae14.21
xor ecx, ecx
mov cl, byte [eax + 0x46ae9c]
jmp dword [ecx*4 + 0x46ae8c]
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x46ae14.21
mov eax, dword [0x58b4f4]
test eax, eax
je case.0x46ae14.21
push 1
push 1
mov ecx, esi
call fcn.00415d70
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov ax, word [edi + 8]
push 1
push eax
push 0xc
mov ecx, esi
call fcn.00415920
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
cmp eax, 0x104
jne case.0x46ae14.21
mov eax, dword [edi + 8]
add eax, 0xffffffee
cmp eax, 0x67
ja case.0x46ae14.21
xor ecx, ecx
mov cl, byte [eax + 0x46af20]
jmp dword [ecx*4 + 0x46af10]
mov dx, word [edi + 8]
push 1
push edx
push 0xc
mov ecx, esi
call fcn.00415920
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x46ae14.21
mov ax, word [edi + 8]
push 1
push eax
push 0xc
mov ecx, esi
call fcn.00415920
mov ebx, 1
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x46ae14.21
mov cx, word [edi + 8]
push 1
push ecx
push 0xc
mov ecx, esi
call fcn.00415920
push 1
push 1
mov ecx, esi
xor ebx, ebx
call fcn.00415d70
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
Function at 0x46b2f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x410
push esi
mov esi, ecx
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
push edx
push edx
push 0x1a
push edx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.ExtSmartWiz
push str.ExtSmartWiz
lea ecx, [esp + 0x10]
push str.360SE
push ecx
push str._s_s_apps_s_s.dll
lea edx, [esp + 0x224]
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
mov edx, dword [0x5278f0]
lea eax, [esp + 0x210]
push esi
push eax
mov eax, dword [0x5278f4]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [0x5278f8]
mov dword [ecx + 4], eax
mov eax, dword [0x5278fc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esi + 0x8cf0]
call fcn.00495d90
pop edi
pop esi
add esp, 0x410
ret

Function at 0x46bca0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2094
call fcn.0051e250
push esi
mov esi, ecx
mov dword [esp + 4], 0
call fcn.0046afa0
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [esp + 4]
test eax, eax
je 0x46bd84
mov ecx, dword [esp + 0x209c]
push edi
xor edi, edi
test ecx, ecx
je 0x46bcf5
mov ecx, esi
call fcn.0046afa0
push eax
call fcn.004780a0
add esp, 4
test eax, eax
je 0x46bd36
jmp 0x46bd31
push eax
push 0x564640
lea eax, [esp + 0x14]
push 0x1048
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
push 5
push 0x5711d0
push 0x5711d0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x46bd36
mov edi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
pop edi
jne 0x46bd84
cmp word [0x57188c], 0
jne 0x46bd68
mov eax, dword [0x591228]
push 0x104
push 0x57188c
push 0x32
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x40
push 0x57188c
push 0x78
call fcn.0049c120
mov ecx, dword [esi + 4]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
add esp, 0x2094
ret 4
Function at 0x46be70
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 8]
push edi
push eax
push 0x5646f0
mov edi, ecx
push SysReAllocStringLen
mov dword [esp + 0x14], 0x104
call esi
test eax, eax
je 0x46beb6
lea ecx, [esp + 0xc]
push ecx
push 0x5646a8
push SysReAllocStringLen
call esi
test eax, eax
jne 0x46bf4f
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x5711d0
push ecx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
lea esi, [esp + 0x10]
test eax, eax
jbe 0x46bf4f
cmp word [esp + 0x10], 0x22
jne 0x46beff
lea esi, [esp + 0x12]
push 0x22
push esi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x46bf14
mov word [eax], 0
push 0x56469c
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x46bf2c
mov word [eax], 0
push 5
lea eax, [edi + 0x4708]
push 0
push eax
push esi
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x46bf58
push 2
mov ecx, edi
call fcn.0046bf70
pop edi
pop esi
add esp, 0x210
ret
Function at 0x46dfd0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x46e030
mov ecx, dword [edi + 0xb330]
test ecx, ecx
jne 0x46dfe9
xor eax, eax
jmp 0x46dff4
mov eax, dword [edi + 0xb334]
sub eax, ecx
sar eax, 2
lea esi, [eax - 1]
test esi, esi
jl 0x46e030
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0xb330]
test ebx, ebx
mov eax, dword [eax + esi*4]
je 0x46e022
push 2
push 1
push 0x3456
push eax
call ebp
jmp 0x46e02b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
dec esi
jns 0x46e007
pop ebp
pop ebx
pop edi
pop esi
ret 4

Function at 0x46e650
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push 0x571274
push 0x5648e0
push SysReAllocStringLen
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x46e6bb
push 0x571274
push 0x5648e0
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 1
call fcn.004791b0
push 1
push 2
push 9
call fcn.00479180
push 1
push 2
push 0xf
call fcn.00479180
push 0
push 2
push 5
call fcn.00479180
push 1
push 2
push 0xa
call fcn.00479180
push 0
call fcn.004791b0
mov dword [0x5a27bc], 1
call fcn.00451260
add esp, 0x248
ret

Function at 0x46ebf0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x46ec1a
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x46ec1a
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x46ec20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
pop esi
ret
Function at 0x46ece0
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [0x57fb14]
push esi
push edi
mov edi, ecx
test eax, eax
je 0x46ecf9
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x46ede8
cmp word [esi], 0
je 0x46ede8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46ede8
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
call fcn.0046edf0
mov edi, eax
test edi, edi
jne 0x46ed4c
pop edi
pop esi
pop ecx
ret 4
mov edx, dword [esp + 8]
inc edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
jne 0x46ed79
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46ed71
push eax
call fcn.0051e1fa
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret 4
mov eax, dword [esp + 8]
mov edi, esi
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.004821b0
add esp, 8
test eax, eax
jle 0x46edc3
push 1
push 8
push 0x564b74
push eax
push esi
push esi
call fcn.0041e070
push esi
push 0x57fb14
call fcn.00496180
add esp, 0x20
push esi
call fcn.0051e1fa
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x46eddd
push eax
call fcn.0051e1fa
add esp, 4
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
pop edi
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x46edf0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], edi
je 0x46eed1
mov ebp, dword [esp + 0x1c]
cmp ebp, edi
je 0x46eed1
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46eed1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esi], eax
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp], edi
jne 0x46ee62
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esi]
xor eax, eax
inc ecx
push 0
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi]
mov edx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46eeb3
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x46eeb3
push ebx
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebp]
test eax, eax
je 0x46eeca
push eax
call fcn.0051e1fa
add esp, 4
mov dword [ebp], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x470440
Capabilities:
Parse url

Disassembly:
sub esp, 0x864
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], 0
test eax, eax
jne 0x47045f
call fcn.004700a0
mov esi, dword [esp + 0x874]
test esi, esi
je 0x470542
cmp byte [esi], 0
je 0x470542
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x824
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x470542
mov al, byte [esp + 0x4c]
test al, al
je 0x470542
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4704e1
xor edi, edi
jmp 0x4704e9
mov edi, dword [ebx + 0x18]
sub edi, eax
sar edi, 2
xor esi, esi
push ebp
test edi, edi
jle 0x470531
mov ebp, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x470513
add eax, 8
test eax, eax
je 0x470513
push eax
lea eax, [esp + 0x54]
push eax
call ebp
test eax, eax
jne 0x470529
inc esi
cmp esi, edi
jl 0x4704f6
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x864
ret 4
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x864
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x864
ret 4
Function at 0x470a70
Capabilities:
Parse url

Disassembly:
sub esp, 0x864
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x470a87
call fcn.004706c0
mov esi, dword [esp + 0x874]
test esi, esi
je 0x470b90
cmp byte [esi], 0
je 0x470b90
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x824
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x470b90
mov al, byte [esp + 0x4c]
test al, al
je 0x470b90
mov eax, dword [ebx + 0x14]
mov dword [esp + 0xc], 0
test eax, eax
jne 0x470b19
xor edi, edi
jmp 0x470b21
mov edi, dword [ebx + 0x18]
sub edi, eax
sar edi, 2
xor esi, esi
push ebp
test edi, edi
jle 0x470b5a
mov ebp, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x470b4b
add eax, 8
test eax, eax
je 0x470b4b
push eax
lea eax, [esp + 0x54]
push eax
call ebp
test eax, eax
jne 0x470b52
inc esi
cmp esi, edi
jl 0x470b2e
jmp 0x470b5a
mov dword [esp + 0x10], 1
mov eax, dword [ebx + 0xc]
pop ebp
test eax, eax
jne 0x470b79
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
pop edi
pop esi
setne al
pop ebx
add esp, 0x864
ret 4
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
pop edi
pop esi
sete al
pop ebx
add esp, 0x864
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x864
ret 4
Function at 0x473d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x521200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push eax
push esi
push edi
mov dword [esp + 0x34], ebx
call fcn.00473530
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x473dda
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 4]
mov edx, dword [edi]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
mov eax, dword [esi]
push ecx
push eax
push edi
call dword [edx + 0x1ac]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x473f51
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esp + 0x34]
call fcn.00477b50
cmp eax, ebx
jge 0x473e27
cmp eax, 0x80004002
je 0x473e27
push eax
call fcn.0051e127
mov eax, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x3c]
cmp eax, ebx
je 0x473f14
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov edx, dword [eax]
push ecx
push eax
mov byte [esp + 0x34], 2
call dword [edx + 0x48]
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x473f01
mov dword [esp + 0x3c], ebx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x30], 3
call fcn.00462bb0
cmp eax, ebx
jge 0x473e80
cmp eax, 0x80004002
je 0x473e80
push eax
call fcn.0051e127
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call fcn.00473b00
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call fcn.00473940
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [esi]
mov ecx, dword [esp + 0x38]
sub edx, eax
mov eax, dword [esp + 0x34]
add edi, edx
mov edx, dword [esp + 0x54]
sub eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esi], edi
mov edi, dword [esi + 4]
push ecx
push ebp
add edi, eax
push esi
push edx
mov dword [esi + 4], edi
call fcn.00473d90
mov eax, dword [esp + 0x64]
add esp, 0x28
cmp eax, ebx
mov byte [esp + 0x2c], 2
je 0x473efd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x473f10
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x34]
cmp dword [ebp], ebx
jne 0x473f3e
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x473f2f
push 0x80004003
call fcn.0051e127
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push 0x52e390
push eax
call dword [ecx]
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x2c], bl
pop ebp
je 0x473f4d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
pop edi
pop esi
cmp eax, ebx
mov dword [esp + 0x20], 0xffffffff
pop ebx
je 0x473f66
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret