joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40274a
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x74
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x402760
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x40276a
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 4]
mov ebx, eax
push ebp
lea eax, [esp + 0x10]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x18]
sub edx, eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x284c]
test eax, eax
je 0x402812
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x284c]
lea eax, [esp + 0x34]
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x18]
add ecx, edx
push ecx
mov ecx, dword [esi + 0x284c]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00486b30
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.00402670
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, esi
call fcn.00401920
mov eax, dword [esi + 0x2888]
test eax, eax
je 0x40284d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
push edi
push 0
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
lea eax, [esp + 0x14]
push 1
push eax
mov ecx, esi
call fcn.00401920
mov ecx, dword [esi + 0x2840]
xor eax, eax
dec ecx
je 0x402879
sub ecx, 0xf
je 0x402872
sub ecx, 0x10
jne 0x40287e
jmp 0x40287e
mov eax, 1
jmp 0x40287e
mov eax, 2
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004026b0
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push 0xcc0020
push eax
push ecx
sub edx, eax
push edi
push edx
mov edx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x88]
pop edi
test eax, eax
pop ebp
je 0x402900
mov edx, dword [esi + 4]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
pop esi
pop ebx
add esp, 0x74
ret 4
mov eax, dword [esi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebx
add esp, 0x74
ret 4
Function at 0x403110
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
mov eax, 0x30d8
call fcn.0049bb40
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor edx, edx
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x105a]
mov word [esp + 0x1058], dx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x2844]
push 0x824
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
mov si, ax
push 0x12
shr esi, 8
and esi, 0xff
call ebx
mov di, ax
push 0x10
shr edi, 8
and edi, 0xff
call ebx
shr eax, 8
and eax, 0xff
mov ecx, 0x4f5820
test esi, esi
mov edx, ecx
je 0x4031c4
test edi, edi
je 0x4031b4
mov ecx, 0x699d04
mov edx, 0x699f04
jmp 0x4031e2
test eax, eax
je 0x4031d4
mov ecx, 0x699904
mov edx, 0x699b04
jmp 0x4031e2
test eax, eax
je 0x4031d4
mov ecx, 0x699504
mov edx, 0x699704
jmp 0x4031e2
test esi, esi
je 0x4031e2
mov ecx, 0x699104
mov edx, 0x699304
push edx
lea edx, [esp + 0x14]
push edx
push ecx
push 0x4e33ac
lea eax, [esp + 0x1068]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x1070]
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
lea eax, [esp + 0x30]
push str.baidu.com_s
push eax
call edi
add esp, 0x28
test eax, eax
jne 0x403240
lea ecx, [esp + 0x10]
push str.baidu.com_baidu_
push ecx
call edi
add esp, 8
test eax, eax
je 0x4032b2
lea edx, [esp + 0x10]
push 0x4e3368
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x4032b2
mov ebx, dword [sym.imp.MSVCRT.dll_wcscat]
lea ecx, [esp + 0x10]
sub eax, ecx
lea edx, [esp + 0x1058]
sar eax, 1
push 0x4e3350
push edx
mov word [esp + eax*2 + 0x1060], 0
call ebx
add esi, 6
push 0x4e334c
push esi
call edi
add esp, 0x10
test eax, eax
je 0x40329c
push eax
lea eax, [esp + 0x105c]
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x1058]
lea edx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x20a2]
mov word [esp + 0x20a0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20a0]
push 0x823
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, 0x5ccf50
call fcn.00471390
test eax, eax
jne 0x40331d
lea edx, [esp + 0x1058]
push edx
call fcn.004757b0
add esp, 4
test eax, eax
je 0x40331d
lea eax, [esp + 0x10]
push 0x824
lea ecx, [esp + 0x105c]
push eax
push ecx
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00404c50
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, ebp
call fcn.00402940
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30d8
ret
Function at 0x403340
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1048
call fcn.0049bb40
push esi
mov esi, ecx
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x824
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x2844]
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
call fcn.00466890
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 4
lea eax, [esp + 8]
push 0x4e33bc
push eax
call edi
add esp, 8
test eax, eax
je 0x4033a8
mov word [eax], 0x2e
jmp 0x40338e
lea ecx, [esp + 8]
push 1
push ecx
mov ecx, esi
call fcn.00402940
mov eax, dword [esp + 0x1054]
test eax, eax
jne 0x4033c8
mov ecx, esi
call fcn.00403110
mov eax, dword [esi + 4]
push eax
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov edx, dword [esi + 0x2848]
and eax, 0xffff
or eax, 0xb0000
push eax
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 4]
push 0x2009
push eax
mov word [esi + 0x7a4], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 1
mov ecx, esi
call fcn.00403df0
pop edi
pop esi
add esp, 0x1048
ret 4
Function at 0x403cf0
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x214
push esi
mov esi, ecx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x403de2
mov eax, dword [esi + 0x38]
push ebx
test eax, eax
push edi
jne 0x403d3f
xor ebx, ebx
jmp 0x403d51
mov ebx, dword [esi + 0x3c]
sub ebx, eax
sar ebx, 2
cmp ebx, 0x18
jle 0x403d51
mov ebx, 0x18
mov ecx, dword [0x4e344c]
mov edx, dword [0x4e3450]
mov dword [esp + 0x18], ecx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
test ebx, ebx
rep stosd dword es:[edi], eax
jle 0x403dd5
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__itow]
mov edi, 1
jmp 0x403d8c
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [edx - 8]
test ecx, ecx
jle 0x403dcb
lea eax, [esp + 0x22]
push 0xa
push eax
push edi
call ebp
mov eax, dword [esi]
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
mov eax, dword [esp + 0x18]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x14]
inc edi
inc eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x403d88
pop ebp
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0x214
ret

Function at 0x405b10
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.00406b90
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
lea ecx, [esi + 0x38]
call fcn.0040fbf0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x405b38
mov ecx, esi
call fcn.004068b0
push 1
push 0xffffffffffffffff
mov ecx, esi
call fcn.00406d90
mov ecx, 0x5d01c0
call fcn.00484440
push 0
call fcn.00456d80
mov ecx, dword [esi + 4]
add esp, 4
push ecx
call sub.gdiplus.dll_GdiplusShutdown
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x405bb0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.0049bb40
mov eax, dword [0x4f62a4]
push edi
test eax, eax
mov edi, ecx
je 0x405bd3
mov eax, 0x4f62a8
pop edi
add esp, 0x2090
ret
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add edi, 0x4c
push 0x5c
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
mov edi, eax
lea eax, [esp + 0x10]
push esi
push 0x4e33c0
push 0x1047
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 0x10
lea ecx, [esp + 0x10]
push edi
push ecx
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, eax
test esi, esi
je 0x405c2f
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x405c4d
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x405cb6
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x405cb6
push 0x4e35e4
push esi
call ebx
test eax, eax
je 0x405c5e
lea esi, [eax + 6]
jmp 0x405c76
push 2
push 0x4e35dc
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x405c76
add esi, 4
push esi
call ebp
add esp, 4
test eax, eax
jbe 0x405cb6
push esi
push 0x4e33c0
push 0x1047
push 0x4f62a8
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x4f62a8
mov word [0x4f8336], 0
call fcn.00466890
push 0x4f62a8
call fcn.00466f30
add esp, 0x18
pop esi
pop ebp
pop ebx
mov dword [0x4f62a4], 1
mov eax, 0x4f62a8
pop edi
add esp, 0x2090
ret
Function at 0x405cd0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
sub esp, 0x20c
push esi
mov esi, ecx
lea ecx, [esp + 8]
lea eax, [esi + 0x4c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [esp + 0x10]
push edx
call fcn.004253e0
lea eax, [esp + 0x14]
push eax
call fcn.00466960
add esp, 0x10
lea ecx, [esp + 8]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 8], eax
je 0x405e0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405e0a
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x6ba518]
test eax, eax
je 0x405e0a
lea ecx, [esp + 4]
push edi
push ecx
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov edi, dword [esp + 0x218]
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jne 0x405d9a
mov ecx, dword [0x6ba518]
push eax
mov eax, dword [esi + 0x20]
push 0xffffffffffffffff
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret 4
push 0x4e35ec
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x405dd4
mov edx, dword [esi + 0x20]
mov eax, dword [0x6ba518]
push 0x1e0000
push 0xffffffffffffffff
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret 4
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
jne 0x405dea
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405dfa
mov ecx, dword [0x6ba518]
push edi
push ecx
call fcn.0042fd30
add esp, 8
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret 4
xor eax, eax
pop esi
add esp, 0x20c
ret 4

Function at 0x405f40
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x410
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], si
push 0x103
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x420]
stosw word es:[edi], ax
lea eax, [esp + 0x214]
push eax
push 0x4e35f4
push ecx
call fcn.0042f5c0
add esp, 0x10
test eax, eax
je 0x405fee
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
lea edx, [esp + 8]
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4e3608
push 0x4f5a7c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x4f5874
call esi
push 2
lea ecx, [esp + 0x214]
push 0x4f5874
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.004677d0
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4
Function at 0x4061b0
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
call fcn.00425e20
call fcn.00425e80
call fcn.00425f40
lea eax, [esp + 4]
push 0
lea ecx, [esi + 4]
push eax
push ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdiplusStartup
push 1
call fcn.00456d80
push section..taihang
call fcn.00461870
add esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], eax
call fcn.0040fa10
mov ecx, 0x5cb6c8
call fcn.0044f0f0
mov ecx, esi
call fcn.00406860
mov eax, dword [0x5ccd14]
pop esi
test eax, eax
je 0x406240
push str.MFC42U.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, 1
add esp, 0x10
ret
Function at 0x406610
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esi + 0x48], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x44], eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x4064b0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x406652
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004066e0
pop esi
pop ecx
ret 4

Function at 0x4066b0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x406670
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4066de
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x406860
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x406886
mov eax, dword [0x69909c]
test eax, eax
je 0x406886
call fcn.004117e0
test eax, eax
jne 0x406886
push eax
call fcn.00411680
mov ecx, eax
call fcn.00412890
push 1
push 2
push 9
call fcn.00448600
push 1
push 2
push 0xf
call fcn.00448600
push 1
push 2
push 0xa
call fcn.00448600
add esp, 0x24
jmp 0x430690
sub esp, 0x214
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x43071d
lea eax, [esp + 0x14]
push 0x4ee76c
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x43071d
push 8
push 0x4ee76c
push 1
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.DSOUND.dll_DirectSoundCreate
call esi
mov eax, dword [0x5ccd28]
test eax, eax
je 0x43078f
mov eax, dword [0x69a550]
mov dword [esp + 8], 0
test eax, eax
je 0x430760
push 1
push 0x4f5c84
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
call fcn.0042fe20
add esp, 0xc
lea ecx, [esp + 8]
push 4
push ecx
push 4
push str.AllSitesCompatibilityMode
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
jmp 0x430788
push 0x4f5c84
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea edx, [esp + 8]
push 4
push edx
push 4
push str.160A
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push reloc.DSOUND.dll_DirectSoundCreate
call esi
mov eax, dword [0x5ccd24]
pop edi
test eax, eax
pop esi
jne 0x4307ae
push 1
push 0x4f5c84
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
call fcn.0042fe20
add esp, 0xc
mov eax, dword [0x5ccd14]
test eax, eax
je 0x4307cb
push 0
push 0x4f5c84
push 0x4ee434
call fcn.0042fe20
add esp, 0xc
add esp, 0x214
ret

Function at 0x4068b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x4068cf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5d00a4]
push 0x208
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 5
push 0
lea edx, [esp + 0x10]
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
add esp, 0x208
ret
Function at 0x406950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x5ccd14]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x40696a
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 3
lea edx, [esp + 0x2c]
push edi
push edx
mov dword [esp + 0x34], 0x4df0c730
mov word [esp + 0x38], 0xdf9d
mov word [esp + 0x3a], 0x4ae3
mov byte [esp + 0x3c], 0x91
mov byte [esp + 0x3d], 0x53
mov byte [esp + 0x3e], 0xaa
mov byte [esp + 0x3f], 0x6b
mov byte [esp + 0x40], 0x82
mov byte [esp + 0x41], 0xe9
mov byte [esp + 0x42], 0x79
mov byte [esp + 0x43], 0x5a
mov dword [esp + 0x24], 0x8be2d872
mov word [esp + 0x28], 0x86aa
mov word [esp + 0x2a], 0x4d47
mov byte [esp + 0x2c], 0xb7
mov byte [esp + 0x2d], 0x76
mov byte [esp + 0x2e], 0x32
mov byte [esp + 0x2f], 0xcc
mov byte [esp + 0x30], 0xa4
mov byte [esp + 0x31], 0xc
mov byte [esp + 0x32], 0x70
mov byte [esp + 0x33], 0x18
mov dword [esp + 0x1c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x406a47
mov eax, dword [esp + 8]
cmp eax, edi
je 0x406a47
lea edx, [esp + 0xc]
add esi, 0x254
push edx
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x406a3d
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x406a3d
mov ecx, dword [eax]
push eax
mov edi, 1
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
add esp, 0x28
ret

Function at 0x406a50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
mov ebp, ecx
push esi
cmp word [ebp + 0x86c], 0
lea esi, [ebp + 0x86c]
jne 0x406ae5
mov eax, dword [0x5ccd14]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x406ac8
call fcn.00406950
test eax, eax
je 0x406ac8
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0x10]
push 0x4e3758
push ecx
push 0x4e3748
push 0x103
push esi
call ebx
add esp, 0x14
pop edi
cmp word [esi], 0
jne 0x406ae5
add ebp, 0x254
push ebp
push 0x4e33c0
push 0x103
push esi
call ebx
add esp, 0x10
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x406d90
Capabilities:
Delete directory

Disassembly:
sub esp, 0x210
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x48]
test eax, eax
je 0x406de0
mov eax, dword [esi + 0x44]
mov esi, dword [esi + 0x28]
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
push ecx
mov dword [esp + 0xc], 0x29
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [0x6ba518]
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
add esp, 0x210
ret 8
mov eax, dword [esp + 0x220]
test eax, eax
je 0x406df6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x21c]
push 0
lea eax, [esp + 0x14]
push 0x103
push eax
push edi
mov ecx, esi
call fcn.00406ce0
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.00425340
lea edx, [esp + 0x18]
push 0
push edx
call fcn.00467ae0
add esp, 0x10
cmp edi, 0xffffffff
je 0x406e73
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x10]
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push 0x103
push eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.00406ce0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
add esp, 0x210
ret 8

Function at 0x406e80
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x6ba50c]
sub esp, 0x208
test eax, eax
je 0x406ec2
push 0x4e37e0
call fcn.00406b00
mov ecx, dword [esp + 0x20c]
push eax
mov eax, dword [esp + 0x214]
push 0x4e33c0
dec eax
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
add esp, 0x208
ret 8
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
push edx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esp + 0x214]
mov edx, dword [esp + 0x210]
lea eax, [esp + 4]
push 0x4e37e0
push eax
dec ecx
push 0x4e37b8
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
pop edi
add esp, 0x208
ret 8

Function at 0x407900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ce658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00499f60
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.00412b70
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x628b8]
mov dword [esi], 0x4d3b6c
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x62cc8]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esi + 0x62ac0]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret