joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412c10
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x44], eax
je 0x412cbe
push edi
call fcn.0045f4d0
mov ecx, dword [esi + 0x44]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 0x30]
mov eax, dword [eax + 0x30]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x412c5a
call fcn.0045ff04
test eax, eax
je 0x412c6b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov edi, eax
test edi, edi
je 0x412c6b
mov ecx, edi
call fcn.0045c4cc
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esi + 0x44]
mov eax, dword [edx + 0x54]
test eax, eax
pop edi
je 0x412c93
mov dword [eax + 0x54], 1
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 0x54]
mov edx, dword [ecx + 0x20]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x412cb2
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x44], 0
mov eax, 1
pop esi
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x4884a3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.0045df88
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov byte [esp + 0x24], 1
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x41302b
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0045e37c
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0045e5b4
test ebp, ebp
je 0x413009
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.0045e639
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0045e09c
jmp 0x41303d
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
Function at 0x413dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4871c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x413f09
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push eax
push str.http_shellopencommand
push SysReAllocString
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413e8d
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push eax
call ebp
test eax, eax
jne 0x413e82
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x413e82
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00456d48
mov edi, eax
add esp, 4
test edi, edi
je 0x413e82
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 0
push 0
push ecx
call ebp
test eax, eax
jne 0x413e79
push edi
mov ecx, esi
call fcn.00403ee0
push edi
call fcn.00456d4d
add esp, 4
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x413f67
push 0x22
push ecx
call fcn.00469c09
add esp, 8
test eax, eax
jne 0x413eae
or edi, 0xffffffff
jmp 0x413eb4
sub eax, dword [esi]
sar eax, 1
mov edi, eax
mov eax, dword [esi]
push 0x22
push eax
call fcn.00469c2b
add esp, 8
test eax, eax
jne 0x413eca
or eax, 0xffffffff
jmp 0x413ece
sub eax, dword [esi]
sar eax, 1
test edi, edi
jl 0x413f1d
test eax, eax
jl 0x413f1d
cmp edi, eax
je 0x413f09
sub eax, edi
sub eax, 1
push eax
add edi, 1
push edi
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00414d20
push eax
mov ecx, esi
mov dword [esp + 0x24], 0
call fcn.00404670
lea ecx, [esp + 0x10]
call fcn.00419210
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x18
ret
mov eax, dword [esi]
push 0x5c
push eax
call fcn.00469c2b
add esp, 8
test eax, eax
je 0x413f09
sub eax, dword [esi]
sar eax, 1
test eax, eax
jle 0x413f09
push eax
push 0x20
mov ecx, esi
call fcn.00414ce0
test eax, eax
jle 0x413f09
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00414dd0
push eax
mov ecx, esi
mov dword [esp + 0x24], 1
call fcn.00404670
lea ecx, [esp + 0x14]
jmp 0x413f04
mov eax, ecx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x414220
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
push edi
push 0
push 0
mov edi, ecx
mov eax, dword [edi + 0x13c]
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov eax, dword [edi + 0x174]
sub esi, 1
test eax, eax
je 0x41426d
mov ecx, dword [eax + 0x2c]
push 0
push ecx
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov edx, dword [edi + 0x174]
mov eax, dword [edx + 0x2c]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test esi, esi
mov ecx, 0x54a130
jne 0x414288
push esi
push str.Interval
push 0x4f1164
call fcn.004621ed
jmp 0x414298
push esi
push str.Interval
push 0x4f1164
call fcn.00462166
lea ecx, [esp + 8]
push ecx
call fcn.00469818
lea eax, [esi + 1]
add esp, 4
cmp eax, 3
ja case.default.0x4142ad
jmp dword [eax*4 + 0x414300]
mov edx, dword [esp + 8]
jmp 0x4142dd
mov eax, dword [esp + 8]
add eax, 0x15180
push eax
jmp 0x4142de
mov ecx, dword [esp + 8]
add ecx, 0x93a80
push ecx
jmp 0x4142de
mov edx, dword [esp + 8]
add edx, 0x278d00
push edx
push str.NextCheck
push 0x4f1164
mov ecx, 0x54a130
call fcn.00462166
mov ecx, edi
call fcn.00459773
pop edi
pop esi
add esp, 8
ret
Function at 0x4153c0
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x487a0b
mov eax, dword fs:[0]
push eax
mov eax, 0x4428
call fcn.0046ad30
mov eax, dword [0x504a70]
xor eax, esp
mov dword [esp + 0x4424], eax
push ebp
push esi
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0x4438]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
push 0x4000
lea ecx, [esp + 0x2c]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x415582
mov eax, dword [esp + 0x1c]
shr eax, 2
mov dword [esp + 0x14], eax
mov ebp, 0
je 0x415582
mov ecx, dword [0x4f420c]
mov edx, dword [0x4f4204]
mov eax, dword [0x4f4208]
mov edi, dword [esp + ebp*4 + 0x24]
push 0x1f4
mov dword [esp + 0x4030], ecx
mov dword [esp + 0x4028], edx
mov edx, dword [0x4f4210]
mov dword [esp + 0x402c], eax
mov eax, dword [0x4f4214]
lea ecx, [esp + 0x403c]
push 0
push ecx
mov dword [esp + 0x403c], edx
mov dword [esp + 0x4040], eax
call fcn.0046ac40
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x41556e
push 0x104
lea edx, [esp + 0x4230]
push edx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41556e
mov eax, dword [esp + 0x18]
push 0x104
lea edx, [esp + 0x4028]
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4155a9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x4024]
push ecx
push edi
lea edx, [esp + 0x18]
push str._08X__s
push edx
mov dword [esp + 0x4450], 0
call fcn.00405230
mov eax, dword [ebx + 8]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.00463e4c
mov dword [esp + 0x4440], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41556e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
add ebp, 1
cmp ebp, dword [esp + 0x14]
jb 0x415430
mov ecx, dword [esp + 0x4438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4424]
xor ecx, esp
call fcn.0046875c
add esp, 0x4434
ret
push 0x80004005
call fcn.00401440
int3
Function at 0x4155c0
Capabilities:
Enumerate device drivers on windows
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4881a6
mov eax, dword fs:[0]
push eax
mov eax, 0x4810
call fcn.0046ad30
mov eax, dword [0x504a70]
xor eax, esp
mov dword [esp + 0x480c], eax
push ebp
push esi
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0x4820]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
push 0x4000
lea ecx, [esp + 0x24]
xor ebp, ebp
push ecx
mov dword [esp + 0x20], ebp
call sub.PSAPI.DLL_EnumDeviceDrivers
test dword [esp + 0x14], 0xfffffffc
jbe 0x415753
mov eax, dword [esp + ebp*4 + 0x1c]
push 0x800
lea edx, [esp + 0x4020]
push edx
push eax
call sub.PSAPI.DLL_GetDeviceDriverFileNameW
lea ecx, [esp + 0x401c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00403e00
push 0x4f1164
push str.___
lea ecx, [esp + 0x18]
mov dword [esp + 0x4830], 0
call fcn.00410f70
mov edx, dword [esp + 0x10]
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41577a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x4828], 1
mov ecx, dword [esp + 0x10]
push edi
push ecx
lea edx, [esp + 0x20]
push str._s__d
push edx
call fcn.00405230
mov eax, dword [ebx + 8]
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.00463e4c
mov byte [esp + 0x4828], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4828], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415741
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
add ebp, 1
shr ecx, 2
cmp ebp, ecx
jb 0x415626
mov ecx, dword [esp + 0x4820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x480c]
xor ecx, esp
call fcn.0046875c
add esp, 0x481c
ret
push 0x80004005
call fcn.00401440
int3
Function at 0x416c40
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4879a0
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
push eax
push esi
push ecx
push ecx
mov dword [esp + 0x38], esp
add ebp, 0xfffffff0
mov edi, esp
push ebp
call fcn.00404c60
add esp, 4
lea edx, [esp + 0x38]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.00416340
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push esi
mov byte [esp + 0x38], 1
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
add dword [ebx], edi
lea esi, [esp + 0x10]
call fcn.00416a90
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
mov eax, dword [esp + 0x10]
mov esi, dword [eax - 0xc]
add esi, ecx
add eax, 0xfffffff0
add esi, edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416d03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416d28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416d4a
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
Function at 0x4181f0
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x487970
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
push 0x4f4cc2
lea ecx, [esp + 0x14]
call fcn.00419150
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
push 0
add ecx, 0xc
push 0x4f1164
mov dword [esp + 0x34], ecx
call fcn.00404b60
mov ebp, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push edi
call ebp
test eax, eax
je 0x4183c3
nop
mov ecx, dword [esp + 0x14]
add ecx, 1
push ecx
call fcn.004698a3
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
push esi
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4182da
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4183ba
test esi, esi
mov byte [eax + esi], 0
jne 0x4182a0
xor eax, eax
jmp 0x4182b0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4182a5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
call fcn.00419310
push esi
call fcn.004695c4
add esp, 4
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push edi
call ebp
test eax, eax
jne 0x418260
jmp 0x4183c3
push esi
call fcn.004695c4
add esp, 4
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4182fd
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x24], 1
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
call esi
push eax
lea ecx, [esp + 0x34]
push str.InternetReadFile_failed__error___d__0x_x__n
push ecx
call fcn.00405230
mov edi, dword [esp + 0x3c]
add esp, 0x10
push 0
push 0x10
push edi
call fcn.0045dce2
call esi
test eax, eax
jg 0x41834a
call esi
mov esi, eax
jmp 0x41835a
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41837b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4183a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
push esi
call fcn.004695c4
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00414f40
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4183f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
Function at 0x419850
Capabilities:
Parse url

Disassembly:
sub esp, 0xc70
mov eax, dword [0x504a70]
xor eax, esp
mov dword [esp + 0xc6c], eax
push 0x3c
lea eax, [esp + 4]
push 0
push eax
call fcn.0046ac40
mov eax, 0x104
add esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
lea eax, [esp]
push eax
lea ecx, [esp + 0x450]
lea edx, [esp + 0x40]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
push 0
lea ecx, [esp + 0x864]
lea edx, [esp + 0x65c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
push 0
lea ecx, [esp + 0x250]
lea edx, [esp + 0xa70]
push esi
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x419903
xor al, al
mov ecx, dword [esp + 0xc6c]
xor ecx, esp
call fcn.0046875c
add esp, 0xc70
ret
mov ecx, dword [esp + 4]
mov edx, str.http
lea esp, [esp]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x419936
test ax, ax
je 0x419932
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x419936
add ecx, 4
add edx, 4
test ax, ax
jne 0x419910
xor eax, eax
jmp 0x41993b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4198ec
cmp word [esp + 0x18], 0x50
jne 0x4198ec
mov ecx, dword [esp + 0x1c]
cmp word [ecx], ax
jne 0x4198ec
mov edx, dword [esp + 0x24]
cmp word [edx], ax
jne 0x4198ec
mov eax, dword [esp + 0x34]
cmp word [eax], 0
jne 0x4198ec
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.00403ee0
lea edx, [esp + 0x244]
push edx
lea ecx, [edi + 4]
call fcn.00403ee0
mov ecx, dword [esp + 0xc6c]
xor ecx, esp
mov al, 1
call fcn.0046875c
add esp, 0xc70
ret
Function at 0x41ad30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x488035
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.00458100
xor ebp, ebp
mov dword [esp + 0x20], ebp
lea ecx, [esi + 0x54]
mov dword [esi], vtable.CXHTMLStatic.0
call fcn.0045f670
mov dword [esi + 0x158], ebp
mov dword [esi + method.CFont.virtual_0], vtable.CFont.0
lea edi, [esi + 0x160]
mov ecx, edi
mov byte [esp + 0x20], 2
call fcn.00463f5c
lea ebx, [esi + 0x174]
mov ecx, ebx
mov byte [esp + 0x20], 3
call fcn.00463b63
push 0x5c
lea eax, [esi + 0xcc]
push ebp
push eax
mov byte [esp + 0x2c], 4
call fcn.0046ac40
add esp, 0xc
push 0xffffffffffffffff
push ebp
mov ecx, edi
mov dword [esi + 0x12c], ebp
mov dword [esi + 0x190], ebp
mov dword [esi + 0x1ac], ebp
mov dword [esi + 0x1a8], ebp
mov dword [esi + 0x198], ebp
mov dword [esi + 0x19c], ebp
mov dword [esi + 0x128], ebp
call fcn.00468351
push 0xffffffffffffffff
push ebp
mov ecx, ebx
call fcn.00463c01
call fcn.0045f4d0
push 0x7f89
push ebp
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp eax, ebp
mov dword [esi + 0x190], eax
jne 0x41af18
call fcn.0045e8af
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41ae36
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x20], 5
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41ae71
push 0x104
lea ecx, [esp + 0x18]
call fcn.00404c10
mov edi, dword [esp + 0x14]
push 0x104
push edi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
cmp edi, ebp
jne 0x41ae85
xor eax, eax
jmp 0x41aea5
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x41ae90
sub eax, edx
sar eax, 1
js 0x41af6b
cmp eax, dword [edi - 8]
jg 0x41af6b
push 0xd
mov dword [edi - 0xc], eax
push 0x4f51f0
lea ecx, [esp + 0x1c]
mov word [edi + eax*2], bp
call fcn.00407d00
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov edi, eax
cmp edi, ebp
je 0x41aef0
push 0x6a
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp eax, ebp
je 0x41aef0
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [esi + 0x190], eax
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebx - 0x10]
mov byte [esp + 0x20], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41af18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
cmp dword [str.amp_], ebp
je 0x41af4c
xor eax, eax
jmp 0x41af30
lea edx, [ecx + 2]
add ecx, 1
mov word [eax + 0x5066bc], dx
lea eax, [ecx*8]
cmp dword [eax + 0x5066b8], ebp
jne 0x41af30
mov eax, esi
call fcn.0041b0b0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0x80070057
call fcn.00401440
int3
Function at 0x41df50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x420
mov eax, dword [0x504a70]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
push edi
push 4
mov edi, edx
push str.APP:
push edi
mov esi, ecx
mov dword [esp + 0x1c], edi
call fcn.0046a217
add esp, 0xc
test eax, eax
jne 0x41dfa8
mov eax, 4
lea eax, [edi + eax*2]
push eax
push esi
call fcn.0041e180
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.0046875c
add esp, 0x420
ret
push 5
push str._APP:
push edi
call fcn.0046a217
add esp, 0xc
test eax, eax
jne 0x41dfe2
mov eax, 5
lea eax, [edi + eax*2]
push eax
push esi
call fcn.0041e180
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.0046875c
add esp, 0x420
ret
push 5
xor esi, esi
push esi
push esi
push edi
push 0x4f1a20
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
mov dword [esp + 0xc], eax
ja 0x41e151
push ebx
push ebp
push 0x40e
lea ecx, [esp + 0x22]
push esi
push ecx
mov word [esp + 0x28], si
call fcn.0046ac40
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 1
push esi
push str..htm
push SysReAllocString
call ebp
cmp eax, esi
mov word [esp + 0x1c], si
jne 0x41e14f
lea eax, [esp + 0x10]
push eax
lea ebx, [esp + 0x20]
call fcn.0041e350
cmp eax, esi
jne 0x41e14f
mov edi, ebx
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x41e060
mov ecx, 0xa
mov esi, str._shellopencommand
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
lea edx, [esp + 0x28]
push edx
push SysReAllocString
call ebp
test eax, eax
mov word [esp + 0x1c], 0
jne 0x41e14f
lea eax, [esp + 0x10]
push eax
lea ebx, [esp + 0x20]
call fcn.0041e350
test eax, eax
jne 0x41e14f
mov ecx, ebx
push str.__1_
push ecx
call fcn.004699f6
add esp, 8
test eax, eax
jne 0x41e0e9
mov edx, ebx
push 0x4f544c
push edx
call fcn.004699f6
add esp, 8
test eax, eax
jne 0x41e0e9
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [esp + eax*2 + 0x1a]
jmp 0x41e0ee
mov word [eax], 0
mov edi, eax
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x41e0f3
mov ecx, dword [0x4f15c4]
mov dword [edi], ecx
mov ecx, dword [esp + 0x18]
mov esi, ecx
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41e110
sub ecx, esi
add eax, 0xfffffffe
mov edx, ecx
mov edi, eax
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41e124
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 5
lea edx, [esp + 0x20]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_WinExec]
mov dword [esp + 0x14], eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x424]
mov eax, 0x20
cmp eax, dword [esp + 0xc]
pop edi
sbb eax, eax
pop esi
xor ecx, esp
neg eax
call fcn.0046875c
add esp, 0x420
ret