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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x74
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x402830
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x40283a
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 + 0x2844]
test eax, eax
je 0x4028e2
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x2844]
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 + 0x2844]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00480b90
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.00402740
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, esi
call fcn.004019f0
mov eax, dword [esi + 0x2880]
test eax, eax
je 0x40291d
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.004019f0
mov ecx, dword [esi + 0x2838]
xor eax, eax
dec ecx
je 0x402949
sub ecx, 0xf
je 0x402942
sub ecx, 0x10
jne 0x40294e
jmp 0x40294e
mov eax, 1
jmp 0x40294e
mov eax, 2
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00402780
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 0x4029d0
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 0x4031e0
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
mov eax, 0x30d8
call fcn.00495c50
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 + 0x283c]
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, 0x4f04e0
test esi, esi
mov edx, ecx
je 0x403294
test edi, edi
je 0x403284
mov ecx, 0x694d00
mov edx, 0x694f00
jmp 0x4032b2
test eax, eax
je 0x4032a4
mov ecx, 0x694900
mov edx, 0x694b00
jmp 0x4032b2
test eax, eax
je 0x4032a4
mov ecx, 0x694500
mov edx, 0x694700
jmp 0x4032b2
test esi, esi
je 0x4032b2
mov ecx, 0x694100
mov edx, 0x694300
push edx
lea edx, [esp + 0x14]
push edx
push ecx
push 0x4de398
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 0x403310
lea ecx, [esp + 0x10]
push str.baidu.com_baidu_
push ecx
call edi
add esp, 8
test eax, eax
je 0x403382
lea edx, [esp + 0x10]
push 0x4de354
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x403382
mov ebx, dword [sym.imp.MSVCRT.dll_wcscat]
lea ecx, [esp + 0x10]
sub eax, ecx
lea edx, [esp + 0x1058]
sar eax, 1
push 0x4de33c
push edx
mov word [esp + eax*2 + 0x1060], 0
call ebx
add esi, 6
push 0x4de338
push esi
call edi
add esp, 0x10
test eax, eax
je 0x40336c
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, 0x5c7bf8
call fcn.0046b460
test eax, eax
jne 0x4033ed
lea edx, [esp + 0x1058]
push edx
call fcn.0046f780
add esp, 4
test eax, eax
je 0x4033ed
lea eax, [esp + 0x10]
push 0x824
lea ecx, [esp + 0x105c]
push eax
push ecx
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00404cf0
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, ebp
call fcn.00402a10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30d8
ret
Function at 0x403410
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1048
call fcn.00495c50
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 + 0x283c]
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.004610c0
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 4
lea eax, [esp + 8]
push 0x4de3a8
push eax
call edi
add esp, 8
test eax, eax
je 0x403478
mov word [eax], 0x2e
jmp 0x40345e
lea ecx, [esp + 8]
push 1
push ecx
mov ecx, esi
call fcn.00402a10
mov eax, dword [esp + 0x1054]
test eax, eax
jne 0x403498
mov ecx, esi
call fcn.004031e0
mov eax, dword [esi + 4]
push eax
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov edx, dword [esi + 0x2840]
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 + 0x79c], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 1
mov ecx, esi
call fcn.00403e90
pop edi
pop esi
add esp, 0x1048
ret 4
Function at 0x403d90
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 0x403e82
mov eax, dword [esi + 0x38]
push ebx
test eax, eax
push edi
jne 0x403ddf
xor ebx, ebx
jmp 0x403df1
mov ebx, dword [esi + 0x3c]
sub ebx, eax
sar ebx, 2
cmp ebx, 0x18
jle 0x403df1
mov ebx, 0x18
mov ecx, dword [0x4de438]
mov edx, dword [0x4de43c]
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 0x403e75
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__itow]
mov edi, 1
jmp 0x403e2c
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 0x403e6b
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 0x403e28
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 0x405ba0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
lea ecx, [esi + 0x34]
call fcn.0040f850
mov eax, dword [esi + 0x10]
test eax, eax
je 0x405bc3
mov ecx, esi
call fcn.004068b0
mov ecx, esi
call fcn.00406b90
push 1
push 0xffffffffffffffff
mov ecx, esi
call fcn.00406d80
push 0
call fcn.00451580
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 0x405c30
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.00495c50
mov eax, dword [0x4f0f60]
push edi
test eax, eax
mov edi, ecx
je 0x405c53
mov eax, 0x4f0f64
pop edi
add esp, 0x2090
ret
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add edi, 0x48
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 0x4de3ac
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 0x405caf
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x405ccd
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x405d36
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x405d36
push 0x4de5d0
push esi
call ebx
test eax, eax
je 0x405cde
lea esi, [eax + 6]
jmp 0x405cf6
push 2
push 0x4de5c8
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x405cf6
add esi, 4
push esi
call ebp
add esp, 4
test eax, eax
jbe 0x405d36
push esi
push 0x4de3ac
push 0x1047
push 0x4f0f64
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x4f0f64
mov word [0x4f2ff2], 0
call fcn.004610c0
push 0x4f0f64
call fcn.00461760
add esp, 0x18
pop esi
pop ebp
pop ebx
mov dword [0x4f0f60], 1
mov eax, 0x4f0f64
pop edi
add esp, 0x2090
ret
Function at 0x405d50
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 + 0x48]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [esp + 0x10]
push edx
call fcn.00422970
lea eax, [esp + 0x14]
push eax
call fcn.00461190
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 0x405e8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405e8a
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x6c0e44]
test eax, eax
je 0x405e8a
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 0x405e1a
mov ecx, dword [0x6c0e44]
push eax
mov eax, dword [esi + 0x1c]
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 0x4de5d8
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x405e54
mov edx, dword [esi + 0x1c]
mov eax, dword [0x6c0e44]
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 0x405e6a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405e7a
mov ecx, dword [0x6c0e44]
push edi
push ecx
call fcn.0042b080
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 0x405fc0
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 0x4de5e0
push ecx
call fcn.0042a910
add esp, 0x10
test eax, eax
je 0x40606e
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 0x4de5f4
push 0x4f0738
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x4f0530
call esi
push 2
lea ecx, [esp + 0x214]
push 0x4f0530
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.00461f80
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4
Function at 0x406230
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
call fcn.004233b0
call fcn.00423410
call fcn.0046be00
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.00451580
push section..taihang
call fcn.0045bc30
add esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], eax
call fcn.0040f670
mov ecx, 0x5c6370
call fcn.0044a310
mov ecx, esi
call fcn.00406860
mov eax, dword [0x5c79bc]
pop esi
test eax, eax
je 0x4062c0
push str.MFC42U.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, 1
add esp, 0x10
ret
Function at 0x4062d0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
xor ebx, ebx
push esi
mov dword [esp + 0x18], ebx
mov dword [edi + 0x28], esi
call fcn.00405980
test eax, eax
jne 0x4062f9
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
push ebp
push ebx
push section..taihang
call fcn.0045b6f0
mov ebp, dword [esp + 0x38]
mov eax, dword [0x694094]
lea ecx, [esp + 0x1c]
mov dword [0x5c7bec], eax
push ecx
push 0x4de6dc
push ebp
mov dword [esp + 0x28], ebx
call fcn.0042a880
mov dword [0x5c7bf0], eax
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, ebx
jne 0x406343
mov edx, dword [0x69408c]
mov dword [0x5c7bf0], edx
mov ecx, edi
call fcn.00406230
call fcn.00435ca0
call fcn.00411460
test eax, eax
je 0x406361
push esi
call fcn.004124f0
add esp, 4
push 0x6c0e4c
push 0x4de6cc
push str.Main
call fcn.004072e0
push 0x103
push 0x6c0e50
push str.Skin
push str.Path
call fcn.00407220
mov eax, dword [0x6940c8]
mov ecx, dword [0x5cad44]
push str.TheWorld_Default
push eax
push 0x34
push 0x33
push ecx
push 0x64
push 0x66
call fcn.00474e30
add esp, 0x38
push 0x16
push str.FavoriteCY
push str.ToolBar
call fcn.004862f0
mov ecx, eax
call fcn.00486de0
lea edx, [esp + 0x10]
mov dword [0x6b5504], eax
push edx
push 0x28
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x406425
lea eax, [esp + 0x20]
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov edx, dword [esp + 0x10]
push ebx
push ebx
lea ecx, [esp + 0x24]
push ebx
push ecx
push ebx
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x1f0fff
mov dword [edi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [edi + 0xc], eax
call fcn.004259c0
mov esi, eax
call fcn.00453a20
mov ecx, eax
call fcn.00453a70
call fcn.00417d90
mov ecx, eax
call fcn.00418020
mov ecx, 0x5c7bf8
call fcn.0046b6a0
cmp esi, ebx
je 0x4064a2
push ebx
push 0x4de5d8
push ebp
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
mov ecx, esi
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
push eax
call fcn.00426200
mov ecx, esi
call fcn.004263b0
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov esi, 1
jmp 0x4064a6
mov esi, dword [esp + 0x18]
call fcn.0040e170
cmp eax, ebx
pop ebp
je 0x4064b8
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, 0x5cae58
call fcn.0047e510
call fcn.00474e80
call fcn.0045bb40
push ebx
call fcn.004124f0
add esp, 4
mov ecx, edi
push ebx
call fcn.00405980
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x4064ee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov edi, dword [edi + 0xc]
cmp edi, ebx
je 0x4064fc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
Function at 0x406670
Capabilities:
Create thread

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

Function at 0x406860
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x406886
mov eax, dword [0x69409c]
test eax, eax
je 0x406886
call fcn.00411460
test eax, eax
jne 0x406886
push eax
call fcn.00411300
mov ecx, eax
call fcn.00412510
push 1
push 2
push 9
call fcn.00443ae0
push 1
push 2
push 0xf
call fcn.00443ae0
push 1
push 2
push 0xa
call fcn.00443ae0
add esp, 0x24
jmp 0x42b9e0
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 0x42ba6d
lea eax, [esp + 0x14]
push 0x4e9248
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x42ba6d
push 8
push 0x4e9248
push 1
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.DSOUND.dll_DirectSoundCreate
call esi
mov eax, dword [0x5c79d0]
test eax, eax
je 0x42badf
mov eax, dword [0x69554c]
mov dword [esp + 8], 0
test eax, eax
je 0x42bab0
push 1
push 0x4f0940
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
call fcn.0042b170
add esp, 0xc
lea ecx, [esp + 8]
push 4
push ecx
push 4
push str.AllSitesCompatibilityMode
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
jmp 0x42bad8
push 0x4f0940
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 [0x5c79cc]
pop edi
test eax, eax
pop esi
jne 0x42bafe
push 1
push 0x4f0940
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
call fcn.0042b170
add esp, 0xc
mov eax, dword [0x5c79bc]
test eax, eax
je 0x42bb1b
push 0
push 0x4f0940
push 0x4e8f10
call fcn.0042b170
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 [0x5cad44]
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 [0x5c79bc]
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, 0x250
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 + 0x868], 0
lea esi, [ebp + 0x868]
jne 0x406ae5
mov eax, dword [0x5c79bc]
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 str.TheWorld
push ecx
push 0x4de744
push 0x103
push esi
call ebx
add esp, 0x14
pop edi
cmp word [esi], 0
jne 0x406ae5
add ebp, 0x250
push ebp
push 0x4de3ac
push 0x103
push esi
call ebx
add esp, 0x10
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret