joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446760
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489793
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047a7f6
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047ff6e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004814c6
test eax, eax
je 0x44687c
mov ecx, dword [esp + 0x3c]
call fcn.0047ff9b
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x446840
push edi
mov ecx, esi
call fcn.0047d557
mov ecx, esi
call fcn.004469e0
cmp dword [esp + 0x38], 1
jne 0x446875
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047d6c1
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x449290
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4492c3
push esi
call fcn.0044c380
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4492bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x449349
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x449332
mov eax, dword [esi + 8]
test eax, eax
je 0x4492e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44932e
cmp eax, 2
je 0x449332
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4492da
cmp eax, 3
je 0x44930d
cmp eax, 1
jne 0x4492da
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 0x4492da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4492da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00449370
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x449358
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00449370
add esp, 4
pop esi
ret

Function at 0x4560f0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x456193
test eax, eax
jbe 0x456193
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x456193
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45613e
xor esi, esi
jmp 0x456144
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45616f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040b0e0
add esi, eax
push esi
mov ebx, esi
call fcn.0040b0e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x456150
pop ebp
test edi, edi
pop edi
jne 0x456193
test ebx, ebx
je 0x456193
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004690b0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4562d5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4563ed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4563ed
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047ac48
mov esi, eax
test esi, esi
je 0x4563ed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4563ed
mov ecx, esi
call fcn.00456240
cmp edi, eax
jge 0x4563ed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x456373
mov dword [esp + 0x34], 1
jmp 0x4563ce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4563ed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004557e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x459c00
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x459c66
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x459c66
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x459c47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x459ff0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45a028
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x45acb0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x45acf9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x45b170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0045ad20
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045ada0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045ada0
lea ecx, [esi + 0xc]
call fcn.0047915c
lea ecx, [esi + 0x10]
call fcn.0047915c
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045c330
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045c330
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045c330
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004791d1
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004791d1
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47b5eb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47b623
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.00479678
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00479650
jmp 0x47b62f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47cce0
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 0x47cd22
call fcn.00482d22
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47cd22
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47cd19
xor eax, eax
jmp 0x47cd2a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047cd30
pop edi
pop esi
pop ebx
ret 4

Function at 0x483252
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 0x483280
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48329e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004831b8
jmp 0x48329e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48329e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004831b8
test edi, edi
mov eax, edi
jne 0x483288
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4034b0
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x41abeb
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x42231c]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push edi
mov eax, dword [0x42231c]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
push 0x9c
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0xe0], ebx
call fcn.0040c7f0
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x9c
call edi
test eax, eax
jne 0x403575
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x94
call edi
test eax, eax
jne 0x403575
push 0xa
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x41eb30
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004016c0
cmp dword [esp + 0x28], 0x10
jb 0x40365e
mov eax, dword [esp + 0x14]
push eax
jmp 0x403656
cmp dword [esp + 0x3c], 2
jne 0x40362f
mov eax, dword [esp + 0x30]
cmp eax, 6
jne 0x4035b4
cmp dword [esp + 0x34], ebx
jne 0x40362f
push str.Microsoft_Windows_Vista
mov ecx, esi
call fcn.004013f0
cmp dword [esp + 0x28], 0x10
jb 0x40365e
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x403656
cmp eax, 5
jne 0x403613
mov eax, dword [esp + 0x34]
cmp eax, 2
jne 0x4035dc
push str.Microsoft_Windows_Server_2003
mov ecx, esi
call fcn.004013f0
lea ecx, [esp + 0x10]
call fcn.00401460
jmp 0x40365e
cmp eax, 1
jne 0x4035f8
push str.Microsoft_Windows_XP
mov ecx, esi
call fcn.004013f0
lea ecx, [esp + 0x10]
call fcn.00401460
jmp 0x40365e
cmp eax, ebx
jne 0x40362f
push str.Microsoft_Windows_2000
mov ecx, esi
call fcn.004013f0
lea ecx, [esp + 0x10]
call fcn.00401460
jmp 0x40365e
cmp eax, 4
ja 0x40362f
push str.Microsoft_Windows_NT
mov ecx, esi
call fcn.004013f0
lea ecx, [esp + 0x10]
call fcn.00401460
jmp 0x40365e
push 0xa
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x41eb30
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004016c0
cmp dword [esp + 0x28], 0x10
jb 0x40365e
mov edx, dword [esp + 0x14]
push edx
call fcn.00408ac2
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.0040880d
add esp, 0xcc
ret
Function at 0x4037d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41af61
mov eax, dword fs:[0]
push eax
sub esp, 0x564
mov eax, dword [0x42231c]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42231c]
xor eax, esp
push eax
lea eax, [esp + 0x578]
mov dword fs:[0], eax
mov eax, dword [esp + 0x588]
push 0x104
lea ecx, [esp + 0x74]
xor ebx, ebx
push ecx
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x70]
push 0x5c
push edx
call fcn.004091fc
add esp, 8
cmp eax, ebx
je 0x403845
add eax, 1
jmp 0x403849
lea eax, [esp + 0x70]
mov byte [eax], bl
lea eax, [esp + 0x70]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x403852
mov ecx, dword [str.Launcher.ini]
mov edx, dword [0x41ebc8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [eax], ecx
mov ecx, dword [0x41ebcc]
mov dword [eax + 4], edx
mov dl, byte [0x41ebd0]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0x70]
push eax
push 0x200
lea ecx, [esp + 0x17c]
push ecx
push ebx
push str.LocalGame
push str.Launcher
call esi
lea edx, [esp + 0x70]
push edx
push 0x200
lea eax, [esp + 0x37c]
push eax
push ebx
push str.Distribution
push str.Config
call esi
mov ebp, 0xf
lea eax, [esp + 0x174]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4038e0
sub eax, edx
push eax
lea ecx, [esp + 0x178]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004016c0
mov dword [esp + 0x580], ebx
lea eax, [esp + 0x374]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403920
sub eax, edx
push eax
lea edx, [esp + 0x378]
push edx
lea ecx, [esp + 0x40]
call fcn.004016c0
lea eax, [esp + 0x38]
push eax
mov edi, 0x41eaa0
lea esi, [esp + 0x20]
mov byte [esp + 0x584], 1
call fcn.00406d00
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x58]
push ecx
push eax
mov byte [esp + 0x58c], 2
call fcn.00406db0
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x34], esi
jb 0x40398a
mov edx, dword [esp + 0x20]
push edx
call fcn.00408ac2
add esp, 4
cmp dword [esp + 0x50], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x4039a9
mov eax, dword [esp + 0x3c]
push eax
call fcn.00408ac2
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x4039c8
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00408ac2
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x578]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.0040880d
add esp, 0x570
ret 4
Function at 0x403d80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41a9ab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42231c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004086ee
push 4
mov dword [esp + 0x20], 0
call fcn.00408c66
mov edi, eax
add esp, 4
test edi, edi
je 0x403e00
call fcn.0040860a
mov dword [edi], eax
call fcn.0040843e
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004081f6
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x403df5
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00408217
jmp 0x403e02
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x407db0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x41ab48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x42231c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x42231c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x3a
mov esi, ecx
push str.http:__count.gamall.net_InstallLog_Install_Log.ashx_param
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.004016c0
push 0
push esi
or eax, 0xffffffff
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.004049c0
mov eax, dword [esp + 0xc]
mov esi, 0x10
cmp dword [esp + 0x20], esi
jae 0x407e30
lea eax, [esp + 0xc]
push 1
push 0
push eax
push str.iexplore.exe
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [esp + 0x20], esi
jb 0x407e5a
mov eax, dword [esp + 0xc]
push eax
call fcn.00408ac2
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0040880d
add esp, 0x2c
ret

Function at 0x40880d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42231c]
jne 0x408817
repz ret
jmp fcn.0040c56b
Function at 0x40faf7
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x422aa8]
je 0x40fb12
inc edi
cmp edi, 0x17
jb 0x40fb03
cmp edi, 0x17
jae 0x40fc92
push ebp
push 3
call fcn.00415b29
cmp eax, 1
pop ecx
je 0x40fc5e
push 3
call fcn.00415b29
test eax, eax
pop ecx
jne 0x40fb46
cmp dword [0x422168], 1
je 0x40fc5e
cmp ebx, 0xfc
je 0x40fc91
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x424008
push ebp
call fcn.0040c66f
add esp, 0xc
test eax, eax
je 0x40fb7c
push esi
push esi
push esi
push esi
push esi
call fcn.00408992
add esp, 0x14
push 0x104
mov esi, 0x424021
push esi
push 0
mov byte [0x424125], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40fbc0
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040c66f
add esp, 0xc
test eax, eax
je 0x40fbc0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00408992
add esp, 0x14
push esi
call fcn.00409590
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40fc05
push esi
call fcn.00409590
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42431c
push 0x41d2a4
sub ecx, eax
push ecx
push eax
call fcn.00411c21
add esp, 0x14
test eax, eax
je 0x40fc05
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00408992
add esp, 0x14
jmp 0x40fc07
xor esi, esi
push 0x41d2a0
push ebx
push ebp
call fcn.00411bb0
add esp, 0xc
test eax, eax
je 0x40fc27
push esi
push esi
push esi
push esi
push esi
call fcn.00408992
add esp, 0x14
push dword [edi*8 + 0x422aac]
push ebx
push ebp
call fcn.00411bb0
add esp, 0xc
test eax, eax
je 0x40fc49
push esi
push esi
push esi
push esi
push esi
call fcn.00408992
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041596c
add esp, 0xc
jmp 0x40fc91
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40fc91
cmp ebp, 0xffffffff
je 0x40fc91
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x422aac]
push dword [esi]
call fcn.00409590
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x41596c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040c944
xor ebx, ebx
cmp dword [0x4244a0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x415a42
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x415b22
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x415b22
push eax
call fcn.0040c8d6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4244a0], eax
call esi
push eax
call fcn.0040c8d6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4244a4], eax
call esi
push eax
call fcn.0040c8d6
mov dword [0x4244a8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040db87
test eax, eax
pop ecx
pop ecx
je 0x415a10
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00408992
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x415a42
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040c8d6
cmp eax, ebx
pop ecx
mov dword [0x4244b0], eax
je 0x415a42
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040c8d6
pop ecx
mov dword [0x4244ac], eax
mov eax, dword [0x4244ac]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x415ac7
cmp dword [0x4244b0], ecx
je 0x415ac7
push eax
call fcn.0040c94d
push dword [0x4244b0]
mov esi, eax
call fcn.0040c94d
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x415ac7
cmp edi, ebx
je 0x415ac7
call esi
cmp eax, ebx
je 0x415a94
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x415a94
test byte [ebp - 0x18], 1
jne 0x415ac7
lea eax, [ebp - 0x10]
push eax
call fcn.0040dbbe
test eax, eax
pop ecx
je 0x415aaf
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00408992
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x415abe
or dword [ebp + 0x10], 0x200000
jmp 0x415b02
or dword [ebp + 0x10], 0x40000
jmp 0x415b02
mov eax, dword [0x4244a4]
cmp eax, dword [ebp - 8]
je 0x415b02
push eax
call fcn.0040c94d
cmp eax, ebx
pop ecx
je 0x415b02
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x415b02
mov eax, dword [0x4244a8]
cmp eax, dword [ebp - 8]
je 0x415b02
push eax
call fcn.0040c94d
cmp eax, ebx
pop ecx
je 0x415b02
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4244a0]
call fcn.0040c94d
cmp eax, ebx
pop ecx
je 0x415b22
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x415b24
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret