joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40158a
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f7624
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.004b88a0
xor ebp, ebp
mov dword [esi + 0x24], 0x4fdbd0
mov dword [esp + 0x20], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x20], 1
mov ecx, edi
call fcn.004a98a0
mov al, byte [esp + 0x13]
mov dword [esi + 0x30], 0x4fdbc0
mov byte [esi + 0x34], al
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea ecx, [esi + 0x4c]
mov byte [esp + 0x20], 3
call fcn.0049dce0
lea ecx, [esi + 0xac]
mov byte [esp + 0x20], 4
call fcn.004b2b20
mov ebx, 5
lea ecx, [esi + 0x7a0]
mov byte [esp + 0x20], bl
call fcn.004b2b20
lea ecx, [esi + 0x2f70]
mov byte [esp + 0x20], 6
mov dword [esi + 0xe94], ebp
mov dword [esi + 0xe98], ebp
mov dword [esi + 0xe9c], ebp
mov dword [esi + 0xea0], ebp
call fcn.00467380
lea ecx, [esi + 0x2f88]
mov byte [esp + 0x20], 7
call fcn.00467380
lea ecx, [esi + 0x2fa0]
mov byte [esp + 0x20], 8
call fcn.00467380
lea ecx, [esi + 0x2fbc]
mov byte [esp + 0x20], 9
call fcn.00467380
lea ecx, [esi + 0x3020]
mov byte [esp + 0x20], 0xa
call fcn.00467380
lea ecx, [esi + 0x3038]
mov byte [esp + 0x20], 0xb
call fcn.00467380
push ebp
lea ecx, [esi + 0x50f8]
mov byte [esp + 0x24], 0xc
call fcn.004992c0
mov dword [esi], 0x4fdbac
mov dword [esi + 0x24], 0x4fdba4
mov dword [edi], 0x4fdba0
mov dword [esi + 0x30], 0x4fdb90
mov dword [esi + 0x44], ebp
mov dword [esi + 0x2f58], ebp
mov dword [esi + 0x2f5c], ebp
mov dword [esi + 0x3014], ebp
mov dword [esi + 0x2fdc], ebx
mov dword [esi + 0x2fe4], ebp
mov dword [esi + 0x2fe0], ebx
mov dword [esi + 0x2fe8], ebp
mov dword [esi + 0x2fec], ebp
mov dword [esi + 0x2ff0], 0x1a
mov dword [esi + 0x2ffc], ebp
mov eax, 3
mov dword [esi + 0x3000], ebx
mov dword [esi + 0x2ff4], eax
mov edx, 0x20
mov dword [esi + 0x2f6c], eax
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x40a8]
mov dword [esi + 0x3018], ebp
mov dword [esi + 0x2ff8], 0x10
mov dword [esi + 0x3004], ebp
mov dword [esi + 0x3008], ebp
mov dword [esi + 0x300c], ebp
mov dword [esi + 0x3010], 0xa9a9a9
mov dword [esi + 0x2fd8], ebp
mov dword [esi + 0x2fd4], ebp
mov dword [esi + 0x2f54], edx
mov dword [esi + 0xea8], ebp
mov dword [esi + 0xeac], ebp
mov dword [esi + 0xeb0], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x2f50], ebp
mov dword [esi + 0x2f60], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x3060]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
mov dword [esi + 0x50f4], eax
mov dword [esi + 0x50f0], eax
mov dword [esi + 0xeb4], ebp
mov word [esi + 0xeb8], bp
mov word [esi + 0x1f00], bp
mov dword [esi + 0x2f48], ebp
mov dword [esi + 0x2f4c], ebp
mov dword [esi + 0x5130], ebp
mov dword [esi + 0x305c], 0x12
mov dword [esi + 0x3054], ebp
mov dword [esi + 0x301c], ebp
mov dword [esi + 0x3058], edx
mov dword [esi + 0x2fb8], ebp
mov dword [esi + 0x2f68], ebp
mov dword [esi + 0xea4], ebp
mov dword [esi + 0x2f64], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x402360
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x2104
call fcn.004ba380
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x82]
mov word [esp + 0x80], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x2f58]
push 0x823
stosw word es:[edi], ax
lea eax, [esp + 0x84]
mov dword [esi + 0xeb4], 1
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0xc], 0x74
mov dword [esp + 0x10], 0x40000000
call fcn.00402b10
test eax, eax
push 0x52a480
je 0x402436
mov edx, dword [esi + 0x2f58]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push edx
call edi
mov eax, dword [esi + 0x2f58]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x459
push eax
call ebx
mov edx, dword [esi + 0x2f58]
lea ecx, [esp + 0x80]
push ecx
push edx
call edi
mov eax, dword [esi + 0x3008]
mov edx, dword [esi + 0x2f58]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], eax
push ecx
push 4
push 0x444
push edx
jmp 0x40255a
mov eax, dword [esi + 0x2f58]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call edi
mov ecx, dword [esi + 0x2f58]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 2
push 0x459
push ecx
call ebx
mov eax, dword [esi + 0x2f58]
lea edx, [esp + 0x80]
push edx
push eax
call edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x10ca]
mov word [esp + 0x10c8], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10c8]
push 0x823
lea edx, [esp + 0x84]
push ecx
push edx
stosw word es:[edi], ax
call fcn.00457c50
add esp, 0xc
test eax, eax
je 0x40253d
mov edx, dword [esi + 0x2f58]
mov eax, dword [esi + 0x3010]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], eax
push ecx
push 4
push 0x444
push edx
call ebx
lea eax, [esp + 0x10c8]
lea ecx, [esp + 0x80]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
lea edx, [esp + 0x88]
lea eax, [esp + 0x10d0]
sub edi, edx
push eax
sar edi, 1
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0xc
add eax, edi
mov ecx, esi
push eax
push edi
call fcn.00404a80
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0xc]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x300c]
push edx
mov dword [esp + 0x10], 0x74
mov dword [esp + 0x14], 0x40000000
mov dword [esp + 0x24], ecx
push 1
jmp 0x40254e
mov ecx, dword [esi + 0x3008]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x24], ecx
push 4
mov eax, dword [esi + 0x2f58]
push 0x444
push eax
call ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, esi
call fcn.00404a80
mov dword [esi + 0xeb4], 0
pop edi
pop esi
pop ebx
add esp, 0x2104
ret
Function at 0x402faa
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x74
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x402fc0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x402fca
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 + 0x2f60]
test eax, eax
je 0x403072
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x2f60]
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 + 0x2f60]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.004a4220
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.00402b80
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, esi
call fcn.00401cf0
mov eax, dword [esi + 0x2fd8]
test eax, eax
je 0x4030ad
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]
push edi
mov ecx, esi
call fcn.00402ee0
push edi
mov ecx, esi
call fcn.00402d50
push edi
mov ecx, esi
call fcn.00402e00
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
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 0x403139
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 0x403ec0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1048
call fcn.004ba380
push esi
mov esi, ecx
cmp word [esi + 0x3060], 0
lea eax, [esi + 0x3060]
je 0x403eeb
push eax
mov eax, dword [esi + 0x2f58]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x2f58]
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 0x824
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 8]
push eax
call fcn.00478650
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 4
lea ecx, [esp + 8]
push 0x50f55c
push ecx
call edi
add esp, 8
test eax, eax
je 0x403f46
mov word [eax], 0x2e
jmp 0x403f2c
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.00403170
mov eax, dword [esp + 0x1054]
pop edi
test eax, eax
jne 0x403f67
mov ecx, esi
call fcn.00403b80
mov eax, dword [esi + 4]
push eax
push eax
call dword [sym.imp.USER32.dll_GetMenu]
and eax, 0xffff
or eax, 0xb0000
push eax
mov eax, dword [esi + 0x2f5c]
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push 0x2009
push ecx
mov word [esi + 0xeb8], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 1
mov ecx, esi
call fcn.00404970
pop esi
add esp, 0x1048
ret 4
Function at 0x404870
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 0x404962
mov eax, dword [esi + 0x38]
push ebx
test eax, eax
push edi
jne 0x4048bf
xor ebx, ebx
jmp 0x4048d1
mov ebx, dword [esi + 0x3c]
sub ebx, eax
sar ebx, 2
cmp ebx, 0x18
jle 0x4048d1
mov ebx, 0x18
mov ecx, dword [0x50f5e4]
mov edx, dword [0x50f5e8]
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 0x404955
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__itow]
mov edi, 1
jmp 0x40490c
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 0x40494b
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 0x404908
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 0x406840
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.00407810
mov ecx, esi
call fcn.00407e50
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
lea ecx, [esi + 0x40]
call fcn.00412b00
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40686f
mov ecx, esi
call fcn.00407a60
push 1
push 0xffffffffffffffff
mov ecx, esi
call fcn.00408120
mov ecx, 0x606b00
call fcn.004a1ac0
push 0
call fcn.004673e0
mov ecx, dword [esi + 8]
add esp, 4
push ecx
call sub.gdiplus.dll_GdiplusShutdown
mov esi, dword [esi + 4]
test esi, esi
je 0x4068a5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4068f0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.004ba380
mov eax, dword [0x52af10]
push edi
test eax, eax
mov edi, ecx
je 0x406913
mov eax, 0x52af14
pop edi
add esp, 0x2090
ret
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add edi, 0x54
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 0x50f4e4
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 0x40696f
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x40698d
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x4069f6
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x4069f6
push 0x50f824
push esi
call ebx
test eax, eax
je 0x40699e
lea esi, [eax + 6]
jmp 0x4069b6
push 2
push 0x50f81c
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x4069b6
add esi, 4
push esi
call ebp
add esp, 4
test eax, eax
jbe 0x4069f6
push esi
push 0x50f4e4
push 0x1047
push 0x52af14
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x52af14
mov word [0x52cfa2], 0
call fcn.00478650
push 0x52af14
call fcn.00478d20
add esp, 0x18
pop esi
pop ebp
pop ebx
mov dword [0x52af10], 1
mov eax, 0x52af14
pop edi
add esp, 0x2090
ret
Function at 0x406af0
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 + 0x54]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [esp + 0x10]
push edx
call fcn.0042bf20
lea eax, [esp + 0x14]
push eax
call fcn.00478720
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 + 0xc], eax
je 0x406c31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406c31
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00406a10
test eax, eax
mov dword [0x6030f8], eax
je 0x406c31
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 0x406bc1
mov ecx, dword [0x6030f8]
push eax
mov eax, dword [esi + 0x24]
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 0x50f82c
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x406bfb
mov edx, dword [esi + 0x24]
mov eax, dword [0x6030f8]
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 0x406c11
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406c21
mov ecx, dword [0x6030f8]
push edi
push ecx
call fcn.00439570
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 0x406dd0
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 0x50f840
push ecx
call fcn.00438cc0
add esp, 0x10
test eax, eax
je 0x406e7e
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 0x50f854
push 0x52a6e4
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x52a4dc
call esi
push 2
lea ecx, [esp + 0x214]
push 0x52a4dc
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.004796d0
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4
Function at 0x406f50
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x208
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 4]
push 0x103
push ecx
push 0x50f840
push eax
call fcn.00438cc0
add esp, 0x10
test eax, eax
pop edi
je 0x406fa1
lea edx, [esp]
push edx
call fcn.0041d460
mov ecx, eax
call fcn.0041eff0
add esp, 0x208
ret 4

Function at 0x407220
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x602cc0]
sub esp, 0x218
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov esi, ecx
jne 0x407291
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x54]
lea ecx, [esp + 0x1c]
push eax
push str._s_taihang_cookieevent
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x2c]
push edx
call fcn.0042bf20
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
mov eax, dword [0x602cc0]
cmp eax, ebx
pop edi
jne 0x407291
call fcn.0042ca30
call fcn.0042ca90
call fcn.0042cb50
lea ecx, [esp + 8]
push ebx
lea edx, [esi + 8]
push ecx
push edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdiplusStartup
push 1
call fcn.004673e0
push section..taihang
call fcn.004732d0
add esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
lea ecx, [esi + 0x40]
mov dword [esi + 0x3c], eax
call fcn.00412920
mov ecx, 0x601658
call fcn.0045ea60
mov ecx, esi
call fcn.00407a00
mov eax, dword [0x602cac]
pop esi
cmp eax, ebx
pop ebx
je 0x40730a
push str.MFC42U.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, 1
add esp, 0x218
ret
Function at 0x407770
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esi + 0x50], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x4c], eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x407610
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4077b2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00407840
pop esi
pop ecx
ret 4

Function at 0x407810
Capabilities:
Create thread

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

Disassembly:
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x407a26
mov eax, dword [0x6d009c]
test eax, eax
je 0x407a26
call fcn.00414780
test eax, eax
jne 0x407a26
push eax
call fcn.00414620
mov ecx, eax
call fcn.00415720
push 1
call fcn.00457f70
push 1
push 2
push 9
call fcn.00457f40
push 1
push 2
push 0xf
call fcn.00457f40
push 1
push 2
push 0xa
call fcn.00457f40
push 0
call fcn.00457f70
add esp, 0x2c
jmp 0x439ed0
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 0x439f5d
lea eax, [esp + 0x14]
push 0x51c224
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x439f5d
push 8
push 0x51c224
push 1
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.DSOUND.dll_DirectSoundCreate
call esi
mov eax, dword [0x602cc0]
test eax, eax
je 0x439fcf
mov eax, dword [0x6d1560]
mov dword [esp + 8], 0
test eax, eax
je 0x439fa0
push 1
push 0x52a8ec
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
call fcn.00439660
add esp, 0xc
lea ecx, [esp + 8]
push 4
push ecx
push 4
push str.AllSitesCompatibilityMode
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
jmp 0x439fc8
push 0x52a8ec
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 [0x602cbc]
pop edi
test eax, eax
pop esi
jne 0x439fee
push 1
push 0x52a8ec
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
call fcn.00439660
add esp, 0xc
mov eax, dword [0x602cac]
test eax, eax
je 0x43a00b
push 0
push 0x52a8ec
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_INTERNET_SHELL_FOLDERS
call fcn.00439660
add esp, 0xc
push 0
push 0x52a8ec
push 0x51be48
call fcn.00439660
add esp, 0x220
ret