joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5ad0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4b5b30
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4b5b30
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4b5b30
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4b5b30
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4b5b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4b7880
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4b78b3
push esi
call fcn.004bc7c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4b78ac
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4b7939
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4b7922
mov eax, dword [esi + 8]
test eax, eax
je 0x4b78d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4b791e
cmp eax, 2
je 0x4b7922
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b78ca
cmp eax, 3
je 0x4b78fd
cmp eax, 1
jne 0x4b78ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4b78ca
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4b78ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004b7970
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4b7959
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004b7970
add esp, 4
pop esi
ret

Function at 0x4e8160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4e816b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4e826e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x583928]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x583928]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x583928]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x583928]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x583928]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x583928]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x583928]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x583928]
xor eax, edx
inc ecx
dec edi
jne 0x4e8186
pop edi
test esi, esi
je 0x4e8290
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x583928]
xor eax, edx
inc ecx
dec esi
jne 0x4e8272
pop esi
pop ebx
not eax
ret
Function at 0x51acc0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x51acf8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00518d4d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00518d25
jmp 0x51ad04
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x51c3ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x51c3fc
call fcn.00522363
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x51c3fc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x51c3f3
xor eax, eax
jmp 0x51c404
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0051c40a
pop edi
pop esi
pop ebx
ret 4

Function at 0x522893
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5228c1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5228df
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005227f9
jmp 0x5228df
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5228df
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005227f9
test edi, edi
mov eax, edi
jne 0x5228c9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Create thread
Extract resource via kernel32 functions
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov edi, dword [0x412130]
mov ecx, 0x10
mov ebx, dword [esp + 0x10]
xor eax, eax
rep stosd dword es:[edi], eax
push 0x800
mov dword [0x4160dc], ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x412178
push str.bg.jpg
call fcn.00409a10
mov esi, eax
add esp, 8
test esi, esi
je 0x401098
push 2
push 0
push esi
call fcn.00409964
push esi
call fcn.0040980c
push 0
push 0
push esi
mov edi, eax
call fcn.00409964
add esp, 0x1c
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push edi
push 1
push eax
mov dword [0x4160d8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00409724
push esi
call fcn.004096ce
add esp, 0x14
jmp 0x401112
mov eax, dword [0x4160dc]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push ebp
push str.jpeg
push 0x6a
push eax
call edi
mov ecx, dword [0x4160dc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x4160dc]
push str.jpeg
push 0x6a
push edx
mov esi, eax
call edi
push eax
mov eax, dword [0x4160dc]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [0x4160d8], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, dword [0x4160d8]
mov ebp, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
pop ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x67
push ebx
call dword [sym.imp.USER32.dll_LoadMenuA]
push 0x90
mov dword [0x415e90], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
jne 0x40117b
push 4
push 0x416100
push 0x412134
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x40117b
push 0
push 0x90
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push 0
mov byte [esp + 0x14], al
push 1
mov esi, dword [esp + 0x18]
push esi
push 0x90
call edi
push 0
push 3
push esi
push 0x90
call edi
push 0
push 0
push 0
push 0x401b10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4011d0
push 0
push 0x65
push ebx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov byte [0x4160e4], 1
call dword [sym.imp.NFSPSCamera.dll_Ordinal_2]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x4160d8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x4088c0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
push esi
push edi
push 0
push 2
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32First
mov edi, dword [esp + 0x138]
lea ecx, [esp + 0x30]
push ecx
call fcn.0040fbd6
lea edx, [esp + 0x34]
push edi
push edx
call fcn.00409b80
add esp, 0xc
test eax, eax
je 0x408944
mov ecx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
push 0
push 0
push ecx
push str.NFS.EXE
call fcn.00408990
add esp, 0x14
cmp eax, 1
jne 0x408955
cmp dword [esp + 8], 0x500000
ja 0x408955
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40897b
jmp 0x4088ed
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40897b
jmp 0x4088ed
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x13c]
test eax, eax
je 0x40896d
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
pop edi
mov eax, 1
pop esi
add esp, 0x12c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x12c
ret

Function at 0x408990
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x224
push esi
push edi
mov edi, dword [esp + 0x230]
push edi
call fcn.0040fbd6
mov eax, dword [esp + 0x238]
add esp, 4
mov dword [esp + 8], 0x224
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 8]
mov esi, eax
push ecx
push esi
call sub.KERNEL32.dll_Module32First
lea edx, [esp + 0x28]
push edx
call fcn.0040fbd6
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00409b80
add esp, 0xc
test eax, eax
jne 0x408a13
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x408a5b
lea edx, [esp + 0x28]
push edx
call fcn.0040fbd6
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00409b80
add esp, 0xc
test eax, eax
je 0x4089e8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x238]
test eax, eax
je 0x408a2b
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov eax, dword [esp + 0x23c]
test eax, eax
je 0x408a3c
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov eax, dword [esp + 0x240]
test eax, eax
je 0x408a4d
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
pop edi
mov eax, 1
pop esi
add esp, 0x224
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x224
ret
Function at 0x409460
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x85c
mov eax, dword [0x412130]
push ebx
push ebp
push esi
push edi
mov esi, 1
push eax
mov dword [esp + 0x1c], 0x5a435052
mov dword [esp + 0x20], esi
call fcn.00408d40
mov ebp, dword [esp + 0x874]
mov dword [esp + 0x18], eax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x70]
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, dword [0x4160dc]
lea eax, [esp + 0x20]
xor ebx, ebx
lea edx, [esp + 0x6c]
push eax
mov dword [esp + 0x58], 0x80004
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], 0x413208
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], 0x4131c8
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 0x413194
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x24], 0x4c
mov word [esp + 0x5e], bx
mov word [esp + 0x5c], bx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], 0x400
mov dword [esp + 0x4c], ebx
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
push ebx
push 0x80
push 2
push ebx
push esi
lea ecx, [esp + 0x80]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push ebx
cmp esi, ebx
je 0x4095a3
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push 4
push eax
push esi
call edi
test eax, eax
je 0x40959b
lea ecx, [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0x24]
push 4
push edx
push esi
call edi
test eax, eax
je 0x40959b
lea eax, [esp + 0x10]
push ebx
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push esi
call edi
test eax, eax
je 0x40959b
lea edx, [esp + 0x10]
push ebx
push edx
push 0x14
push 0x416080
push esi
call edi
test eax, eax
jne 0x4095bf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 0x41318c
push 0x4131f4
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret
mov eax, dword [0x412130]
push 1
push eax
call fcn.00408d20
mov ecx, dword [esp + 0x1c]
add esp, 8
xor ebp, ebp
cmp ecx, ebx
mov dword [0x4160ec], eax
jbe 0x409604
lea ecx, [esp + 0x10]
push ebx
push ecx
push 0x40
push eax
push esi
call edi
test eax, eax
je 0x40962f
mov edx, dword [0x4160ec]
mov ecx, dword [esp + 0x14]
inc ebp
mov eax, dword [edx]
cmp ebp, ecx
mov dword [0x4160ec], eax
jb 0x4095de
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x870]
push ebx
push 0x41315c
push 0x4131e4
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x870]
push ebx
push 0x41318c
push 0x4131f4
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret
Function at 0x401080
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
push edi
mov esi, ecx
push eax
push 0x202
mov dword [esi], 0x403270
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor eax, eax
mov ecx, 0x1369e
lea edi, [esi + 0x10]
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0x4da8c], eax
mov dword [esi + 4], eax
rep stosd dword es:[edi], eax
mov eax, esi
pop edi
pop esi
add esp, 0x190
ret

Function at 0x401130
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Create thread
Resolve dns

Disassembly:
sub esp, 0x10
push esi
push 6
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x401153
xor eax, eax
pop esi
add esp, 0x10
ret 8
mov eax, dword [esp + 0x18]
push edi
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0xa], ecx
push edx
mov dword [esp + 0x12], ecx
mov edi, eax
mov dword [esp + 0x16], ecx
mov word [esp + 0xc], 2
mov word [esp + 0x1a], cx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xa], ax
mov eax, dword [edi + 0xc]
mov edi, dword [sym.imp.WS2_32.dll_connect]
push 0x10
mov ecx, dword [eax]
lea eax, [esp + 0xc]
push eax
mov edx, dword [ecx]
mov ecx, dword [esi + 8]
push ecx
mov dword [esp + 0x18], edx
call edi
cmp eax, 0xffffffff
jne 0x4011e1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0xc]
push edx
call ebx
mov eax, dword [esi + 0xc]
push 0x3e8
push eax
call ebp
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push 0x10
push ecx
push edx
call edi
cmp eax, 0xffffffff
je 0x4011bc
pop ebp
pop ebx
push 0
push 0
push esi
push 0x401210
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 8

Function at 0x4012e0
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebx
push esi
push edi
push 0x4da78
mov esi, ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, eax
test ebx, ebx
jne 0x40130c
push 0x40429c
call edi
nop
nop
push 0x40428c
call edi
push 0
push 0
push ebx
mov ecx, 0x1369e
add esi, 0x4da90
mov edi, ebx
push ebx
push 0
rep movsd dword es:[edi], dword [esi]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4018a0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4026eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
push str.yinggshishiz
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov al, 0x45
mov cl, 0x52
push 0x9b508
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0x54
mov byte [esp + 0x13], 0x53
mov byte [esp + 0x14], al
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x56
mov byte [esp + 0x17], al
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], 0x32
mov byte [esp + 0x1a], 0x2e
mov byte [esp + 0x1b], 0x30
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x40192d
mov ecx, eax
call fcn.00401080
mov esi, eax
jmp 0x40192f
xor esi, esi
mov ecx, esi
mov dword [esp + 0x24], 0xffffffff
call fcn.00401110
test eax, eax
je 0x401950
lea eax, [esp + 0xc]
push 0xd
push eax
mov ecx, esi
call fcn.00401340
mov eax, dword [esi + 0x4da8c]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
jne 0x40196e
push 0x64
call edi
mov eax, dword [esi + 0x4da8c]
test eax, eax
je 0x401960
push 0xffffffffffffffff
call edi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x406440
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00409607
add esp, 4
lea edx, [esp + 0xc]
push edx
mov esi, eax
push esi
push ebx
call edi
mov edi, eax
cmp edi, ebx
je 0x4064e5
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x406495
test dword [esi + 0xc], 0x100000
jne 0x4064ad
mov eax, dword [esi + 4]
push eax
jmp 0x4064a7
cmp ebp, 1
jne 0x4064ad
test dword [esi + 0xc], 0x100000
je 0x4064ad
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea edx, [esp + 0x10]
push edx
push 0
push edi
mov dword [esp + 0x1c], 0
call ebx
push esi
call fcn.00409612
mov eax, dword [esp + 0x14]
push eax
call fcn.00409607
add esp, 8
lea ecx, [esp + 0x10]
push ecx
mov esi, eax
push esi
push edi
call ebx
test eax, eax
jne 0x406482
lea ebx, [eax + 1]
pop ebp
test esi, esi
je 0x4064f2
push esi
call fcn.00409612
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 4

Function at 0x406720
Capabilities:
Create process on windows
Create process suspended
Print debug messages

Disassembly:
sub esp, 0x260
mov eax, dword [0x454810]
xor eax, esp
mov dword [esp + 0x25c], eax
push 0x104
lea eax, [esp + 0x58]
push 0
push eax
call fcn.00428200
push 0x104
lea ecx, [esp + 0x168]
push 0
push ecx
call fcn.00428200
add esp, 0x18
push 0x104
lea edx, [esp + 0x58]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x160]
push str.__s___d
push edx
call fcn.0042aa13
push 0x40
lea eax, [esp + 0x28]
push 0
push eax
mov dword [esp + 0x2c], 0x44
call fcn.00428200
add esp, 0x1c
lea ecx, [esp]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x178]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x443438
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x25c]
xor ecx, esp
mov eax, 1
call fcn.0042827a
add esp, 0x260
ret 4
Function at 0x406dc0
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x43f3e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc08
mov eax, dword [0x454810]
xor eax, esp
mov dword [esp + 0xc04], eax
push esi
push edi
mov eax, dword [0x454810]
xor eax, esp
push eax
lea eax, [esp + 0xc14]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0xc24]
push 0x400
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0xc28], 0
mov dword [esp + 0x18], 0x3ff
call fcn.00428200
push 0x800
lea ecx, [esp + 0x420]
push 0
push ecx
call fcn.00428200
mov edx, dword [esp + 0xc40]
push 0x3ff
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0042ad40
add esp, 0x24
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x414]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.004066d0
test esi, esi
jne 0x406e75
xor eax, eax
jmp 0x406e78
mov eax, dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push 0
push 0
push eax
call esi
push 0
push 0
push 0
push eax
call esi
push 0x808
mov edi, eax
call fcn.004095d8
lea ecx, [esp + 0x414]
mov esi, eax
mov edx, ecx
add esp, 4
sub esi, edx
lea esp, [esp]
movzx edx, word [ecx]
mov word [esi + ecx], dx
add ecx, 2
test dx, dx
jne 0x406eb0
mov ecx, dword [esp + 0xc2c]
push 0
push 0
push eax
push 0x406800
push 0
push 0
mov dword [eax + 0x800], edi
mov dword [eax + 0x804], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esp + 0xc28]
add eax, 0xfffffff0
mov dword [esp + 0xc1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406f14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xc14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc04]
xor ecx, esp
call fcn.0042827a
add esp, 0xc14
ret 0xc