joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d9e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46da13
push esi
call fcn.00470ad0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46da0c
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 0x46da99
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46da82
mov eax, dword [esi + 8]
test eax, eax
je 0x46da37
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 0x46da7e
cmp eax, 2
je 0x46da82
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46da2a
cmp eax, 3
je 0x46da5d
cmp eax, 1
jne 0x46da2a
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 0x46da2a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46da2a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046dac0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46daa8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046dac0
add esp, 4
pop esi
ret

Function at 0x479aa0
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 0x479b06
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 0x479b06
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x479ae7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x479e90
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x479ec8
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 0x47ab40
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 0x47ab89
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 0x47b000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c7110
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.0047abb0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047ac30
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047ac30
lea ecx, [esi + 0xc]
call fcn.004b625f
lea ecx, [esi + 0x10]
call fcn.004b625f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0047c1c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0047c1c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0047c1c0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004b62d4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b62d4
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47fb00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c77e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x47fb43
mov eax, dword [esi]
jmp 0x47fb45
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x47fb66
push 0x6f0bd0
push edi
push eax
call fcn.004b30f1
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x47fbc6
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x47fbc6
mov eax, dword [esi]
test eax, eax
je 0x47fbad
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x47fbbd
push eax
call fcn.004b603e
add esp, 4
push esi
call fcn.004b603e
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x484460
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 0x484503
test eax, eax
jbe 0x484503
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x484503
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 0x4844ae
xor esi, esi
jmp 0x4844b4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4844df
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0042dd50
add esi, eax
push esi
mov ebx, esi
call fcn.0042dd50
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4844c0
pop ebp
test edi, edi
pop edi
jne 0x484503
test ebx, ebx
je 0x484503
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004a5540
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x484645
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 0x48475d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48475d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004b7d4e
mov esi, eax
test esi, esi
je 0x48475d
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 0x48475d
mov ecx, esi
call fcn.004845b0
cmp edi, eax
jge 0x48475d
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 0x4846e3
mov dword [esp + 0x34], 1
jmp 0x48473e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x48475d
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.00483b60
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 0x489fc0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x6f0e2c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x489fd3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x48a014
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x6f0ed4]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x48a046
mov bl, byte [esp + ecx + 0x4c]
jmp 0x48a04a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x48a03b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x48a068
mov bl, byte [esp + ecx + 0x4c]
jmp 0x48a06c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x48a05d
xor ecx, ecx
mov eax, 0x6f0e3c
xor ebx, ebx
mov bl, byte [ecx + 0x6f0ee4]
cmp byte [esp + ebx + 0x14], 0
je 0x48a097
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x6f0efc]
cmp byte [esp + ebx + 0x14], 0
je 0x48a0ae
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x48a07e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x48a007
lea edx, [esp + 0x84]
push edx
call fcn.0048a0f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4b86f1
Capabilities:
Get graphical window text

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

Function at 0x4b9de3
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 0x4b9e25
call fcn.004bfdc9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b9e25
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b9e1c
xor eax, eax
jmp 0x4b9e2d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b9e33
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c02f9
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 0x4c0327
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c0345
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c025f
jmp 0x4c0345
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c0345
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c025f
test edi, edi
mov eax, edi
jne 0x4c032f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404263
Capabilities:
Delete directory
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.004121e0
cmp dword [0x4e4b90], 0x594
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
jne 0x4042a0
push 0x4036b8
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x4036cc
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x434588]
push ebx
push esi
push edi
mov edi, dword [0x43458c]
xor esi, esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x28], 0x9e3779b9
call fcn.0040425c
mov eax, dword [0x434590]
add dword [ebp - 8], 0x23f
mov ebx, dword [0x434594]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, dword [ebp - 0xc]
mov ecx, eax
shl ecx, 4
cmp dword [0x4e4b90], 0xc
mov dword [ebp - 4], ecx
jne 0x404342
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x844]
push eax
push esi
push 0x4036dc
push 0x4036f4
push 0x403728
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
add dword [ebp - 4], ecx
mov ecx, dword [0x4e4b90]
cmp ecx, 0xfa9
jne 0x404360
mov dword [0x4e412c], 0xedeb2e40
cmp ecx, 0x3eb
jne 0x40436e
mov dword [0x4e3adc], esi
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
shr eax, cl
mov dword [0x4e4128], 0xf4ea3dee
add eax, ebx
mov ecx, eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
xor ecx, dword [ebp - 4]
cmp dword [0x4e4b90], 0x213
mov dword [ebp - 0x18], ecx
jne 0x4043ac
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], 0x64
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x10], 0x64
cmp dword [0x4e4b90], 0xc
jne 0x4043e9
push esi
lea eax, [ebp - 0x444]
push eax
push 0x403738
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push esi
lea eax, [ebp - 0x1044]
push eax
push 0x403790
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov eax, dword [ebp - 0x10]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x14]
shr eax, cl
add eax, edi
xor eax, edx
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
sub dword [ebp - 8], eax
dec dword [ebp - 0x1c]
jne 0x4042e1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x404437
Capabilities:
Allocate thread local storage
Create pipe
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4e4b90]
mov ecx, dword [0x4e3ae0]
sub esp, 0x44c
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x404522
mov edi, ecx
mov ebx, eax
cmp dword [0x4e4b90], 0x959
jne 0x404512
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x4037d8
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0x403824
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0x403844
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x40385c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push 0x4038a0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.00404263
add edi, 8
dec ebx
jne 0x40445f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404864
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
push ebx
push esi
push edi
xor esi, esi
xor ebx, ebx
mov edi, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
cmp ebx, edi
jle 0x40489b
cmp dword [esp + 0x10], 0x785074d5
jne 0x4048a4
inc ebx
cmp ebx, 0x1c1b
jl 0x40487c
mov ebx, 0x5d744c
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffA]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
lea eax, [esp + 0xc]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatW]
dec ebx
jne 0x4048a9
cmp dword [0x4e4b90], 0x400
jne 0x404917
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push esi
push esi
call fcn.00406bb7
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004041f7
fstp st(0)
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.0040421a
fstp st(0)
push esi
call fcn.004070ee
pop ecx
push esi
call fcn.00406f3e
pop ecx
push esi
push esi
call fcn.00406aab
pop ecx
pop ecx
mov eax, dword [0x43495c]
mov dword [0x4e4b90], eax
mov eax, dword [0x434930]
mov dword [0x4e4b94], eax
call fcn.004045f6
xor ebx, ebx
push 0x403a4c
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp ebx, edi
jle 0x40494b
cmp dword [esp + 0x10], 0x785074d5
jne 0x404954
inc ebx
cmp ebx, 0x11915
jl 0x404932
mov edi, 0x3078f
cmp dword [0x4e4b90], 0x51f
jne 0x404985
push 0x403a54
push esi
lea eax, [esp + 0x20]
push eax
push 0x403a7c
push 0x403a9c
push 0x403adc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
jne 0x404959
mov eax, dword [0x4e3ae0]
mov dword [0x4e4124], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4077fb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433238]
jne 0x407805
repz ret
jmp fcn.0040cd7c
Function at 0x40eb40
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040b10c
and dword [ebp - 4], 0
cmp dword [0x4356c4], 0
mov ebx, eax
jne 0x40ebf1
push 0x402ed4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40eca2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ec8
push edi
call esi
test eax, eax
je 0x40eca2
push eax
call fcn.0040b09a
mov dword [esp], 0x402eb8
push edi
mov dword [0x4356c4], eax
call esi
push eax
call fcn.0040b09a
mov dword [esp], 0x402ea4
push edi
mov dword [0x4356c8], eax
call esi
push eax
call fcn.0040b09a
mov dword [esp], 0x402e88
push edi
mov dword [0x4356cc], eax
call esi
push eax
call fcn.0040b09a
pop ecx
mov dword [0x4356d4], eax
test eax, eax
je 0x40ebf1
push 0x402e70
push edi
call esi
push eax
call fcn.0040b09a
pop ecx
mov dword [0x4356d0], eax
mov eax, dword [0x4356d0]
cmp eax, ebx
je 0x40ec49
cmp dword [0x4356d4], ebx
je 0x40ec49
push eax
call fcn.0040b115
push dword [0x4356d4]
mov esi, eax
call fcn.0040b115
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ec49
test edi, edi
je 0x40ec49
call esi
test eax, eax
je 0x40ec40
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ec40
test byte [ebp - 0xc], 1
jne 0x40ec49
or dword [ebp + 0x10], 0x200000
jmp 0x40ec82
mov eax, dword [0x4356c8]
cmp eax, ebx
je 0x40ec82
push eax
call fcn.0040b115
pop ecx
test eax, eax
je 0x40ec82
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ec82
mov eax, dword [0x4356cc]
cmp eax, ebx
je 0x40ec82
push eax
call fcn.0040b115
pop ecx
test eax, eax
je 0x40ec82
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4356c4]
call fcn.0040b115
pop ecx
test eax, eax
je 0x40eca2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40eca4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431a54
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00458b84
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00458b84
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x431ad0
mov eax, dword [0x943a9c]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0x40
call fcn.00458b9c
cmp dword [ebp - 0x18], esp
je 0x431afc
push 6
call fcn.00458b96
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x45
call fcn.00458b9c
cmp dword [ebp - 0x18], esp
je 0x431b2a
push 6
call fcn.00458b96
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x46
call fcn.00458b9c
cmp dword [ebp - 0x18], esp
je 0x431b56
push 6
call fcn.00458b96
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x47
call fcn.00458b9c
cmp dword [ebp - 0x18], esp
je 0x431be5
push 6
call fcn.00458b96
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x48
call fcn.00458b9c
cmp dword [ebp - 0x18], esp
je 0x431c0a
push 6
call fcn.00458b96
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x431c12
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00458b78
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00458b78
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8