joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e520
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bdd11
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x48e55d
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.004b2e6e
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.004b21b6
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.004873d0
lea ecx, [esp + 8]
call fcn.004b3119
lea ecx, [esp + 0x30]
call fcn.004b231a
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.004b21b6
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.00487840
lea ecx, [esp + 0x74]
call fcn.004b231a
lea ecx, [esp + 8]
call fcn.004b311a
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.00485070
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.00487370
mov ecx, esi
call fcn.00487f20
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.00487370
mov ecx, esi
call fcn.00487f20
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.00487370
mov ecx, esi
call fcn.00487f20
mov ecx, dword [edi + 0x5c]
call fcn.00484850
push eax
mov ecx, esi
call fcn.00484860
mov ecx, dword [edi + 0x5c]
call fcn.00484e10
push eax
mov ecx, esi
call fcn.00484db0
mov ecx, dword [edi + 0x5c]
call fcn.00484f30
push eax
mov ecx, esi
call fcn.00484ee0
mov ecx, dword [edi + 0x5c]
push 0
call fcn.00484130
push eax
mov ecx, esi
call fcn.00484140
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.004b2292
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.004b2292
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004b2f33
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x48fda0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4bdf37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004a8ec9
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004a8ec9
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004908c0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x490910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4be010
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004b50aa
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x490943
xor al, al
jmp 0x490a6f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x490965
xor al, al
jmp 0x490a6f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x490978
xor al, al
jmp 0x490a6f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x49098c
xor al, al
jmp 0x490a6f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.004a8f8e
test eax, eax
jne 0x4909c0
xor al, al
jmp 0x490a6f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4f5bcc
mov dword [esp + 0x20], ebp
call fcn.004b50aa
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004b1e6b
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004b1ec2
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x490a54
mov ax, word [ebx]
test ax, ax
je 0x490a46
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.00490a90
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x490a2a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004b1ec2
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x490fd0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004b3557
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x491016
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0049a0a8
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x519104
push ecx
call fcn.0049b8c1
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4ad357
Capabilities:
Get graphical window text

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

Function at 0x4aeb52
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 0x4aeb94
call fcn.004b50aa
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4aeb94
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4aeb8b
xor eax, eax
jmp 0x4aeb9c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004aeba2
pop edi
pop esi
pop ebx
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
cmp dword [0x4e2910], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
jne 0x403e62
push 0x403694
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x4036a4
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x432438]
mov ebx, dword [0x43243c]
xor esi, esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], 0x9e3779b9
call fcn.00403e22
mov eax, dword [0x432440]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x28], eax
mov eax, dword [0x432444]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, edi
shl eax, 4
cmp dword [0x4e2910], 0xc
mov dword [ebp - 4], eax
jne 0x403ef5
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x444]
push eax
push esi
push 0x4036c4
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
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 - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x4e2910]
cmp eax, 0xfa9
jne 0x403f11
mov dword [0x4e1eac], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403f1e
mov dword [0x4e185c], esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov edx, edi
shr edx, cl
add eax, edi
mov dword [ebp - 0x14], eax
mov dword [0x4e1ea8], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x4e2910], 0x213
mov dword [ebp - 0x14], edx
jne 0x403f5d
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x4e2910], 0xc
jne 0x403f9a
push esi
lea eax, [ebp - 0x444]
push eax
push 0x4036e8
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push esi
lea eax, [ebp - 0x844]
push eax
push 0x403744
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x10]
shr eax, cl
add eax, ebx
xor eax, edx
xor dword [ebp - 4], eax
sub edi, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 8], eax
dec dword [ebp - 0x18]
jne 0x403ea2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x403fe2
Capabilities:
Create pipe
Get common file path
Get system information on windows
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4e2910]
mov ecx, dword [0x4e1860]
sub esp, 0x44c
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4040ca
mov edi, ecx
mov ebx, eax
cmp dword [0x4e2910], 0x959
jne 0x4040ba
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 0x403768
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x4036cc
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x4037b8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x4037f0
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_InitializeSListHead]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.00403e29
add edi, 8
dec ebx
jne 0x40400a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40419e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x42f3a6
call fcn.0042f298
mov eax, 0x1848
call fcn.00410520
push ebx
push esi
xor esi, esi
cmp dword [0x4e2910], 0x5b1
push edi
jne 0x404240
push esi
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
lea eax, [ebp - 0x54]
call fcn.004044dc
push esi
mov dword [ebp - 4], esi
call fcn.00405e25
pop ecx
call fcn.004051e5
push 0x403868
lea ecx, [ebp - 0x1c]
call fcn.00403cb0
lea ecx, [ebp - 0x1c]
call fcn.00403ccc
push esi
push esi
call fcn.00405a2e
push esi
call fcn.004059ff
add esp, 0xc
call fcn.004051ea
push esi
call fcn.00405ea1
mov dword [esp], esi
call fcn.00403e03
fstp st(0)
push esi
call fcn.004059e8
pop ecx
lea eax, [ebp - 0x38]
push eax
call fcn.0040450f
lea eax, [ebp - 0x38]
push eax
call fcn.00404550
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x54]
call fcn.00404501
add dword [0x4e2910], 0x1134b
push dword [0x4e2910]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4e1860], eax
call fcn.004040e9
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x404289
inc edi
cmp edi, 0x4f6a4
jl 0x404269
xor edi, edi
cmp dword [0x4e2910], esi
jbe 0x4042c4
cmp dword [0x4e2910], 0xa8
mov eax, dword [0x4e2914]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x4e1860]
mov byte [ecx + edi], al
jne 0x4042bb
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc edi
cmp edi, dword [0x4e2910]
jb 0x404293
xor edi, edi
mov eax, dword [0x4e2910]
add eax, edi
cmp eax, 0xe
jne 0x40430a
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
lea eax, [ebp - 0xc54]
push eax
push esi
push 0x403878
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
lea eax, [ebp - 0x1854]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
inc edi
cmp edi, 0x39621
jl 0x4042c6
call fcn.00403fe2
xor edi, edi
call ebx
cmp edi, 0x26
jne 0x404326
call fcn.004040cf
inc edi
cmp edi, 0x6753f
jl 0x40431a
push 0x7b
pop edi
cmp dword [0x4e2910], 0x86
jne 0x404369
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push esi
push esi
call sub.KERNEL32.dll_Process32FirstW
push esi
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push esi
lea eax, [ebp - 0x1054]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp dword [0x4e2910], 0xf
jne 0x40437a
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
dec edi
jne 0x404332
push 0x403898
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x404397
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
push ebx
push esi
push edi
mov edi, 0x5d744c
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffA]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
lea eax, [esp + 0xc]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatW]
dec edi
jne 0x4043ad
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 0x4043fd
cmp dword [esp + 0x10], 0x785074d5
jne 0x404406
inc ebx
cmp ebx, 0x1c1b
jl 0x4043de
cmp dword [0x4e2910], 0x400
jne 0x404454
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push esi
push esi
call fcn.00405867
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403dbd
fstp st(0)
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403de0
fstp st(0)
push esi
call fcn.00405d9e
pop ecx
push esi
call fcn.00405bee
pop ecx
push esi
push esi
call fcn.0040575b
pop ecx
pop ecx
mov eax, dword [0x43280c]
mov dword [0x4e2910], eax
mov eax, dword [0x4327e0]
mov dword [0x4e2914], eax
call fcn.0040419e
xor ebx, ebx
push 0x4038b8
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp ebx, edi
jle 0x404488
cmp dword [esp + 0x10], 0x785074d5
jne 0x404491
inc ebx
cmp ebx, 0x11915
jl 0x40446f
mov edi, 0x3078f
cmp dword [0x4e2910], 0x51f
jne 0x4044c2
push 0x4038c0
push esi
lea eax, [esp + 0x20]
push eax
push 0x4038f8
push 0x403910
push 0x403950
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
jne 0x404496
mov eax, dword [0x4e1860]
mov dword [0x4e1ea4], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4065bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431178]
jne 0x4065c5
repz ret
jmp fcn.0040bb3c
Function at 0x40c110
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.00409b9c
and dword [ebp - 4], 0
cmp dword [0x4333fc], 0
mov ebx, eax
jne 0x40c1c1
push 0x4024e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c272
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4024d4
push edi
call esi
test eax, eax
je 0x40c272
push eax
call fcn.00409b2a
mov dword [esp], 0x4024c4
push edi
mov dword [0x4333fc], eax
call esi
push eax
call fcn.00409b2a
mov dword [esp], 0x4024b0
push edi
mov dword [0x433400], eax
call esi
push eax
call fcn.00409b2a
mov dword [esp], 0x402494
push edi
mov dword [0x433404], eax
call esi
push eax
call fcn.00409b2a
pop ecx
mov dword [0x43340c], eax
test eax, eax
je 0x40c1c1
push 0x40247c
push edi
call esi
push eax
call fcn.00409b2a
pop ecx
mov dword [0x433408], eax
mov eax, dword [0x433408]
cmp eax, ebx
je 0x40c219
cmp dword [0x43340c], ebx
je 0x40c219
push eax
call fcn.00409ba5
push dword [0x43340c]
mov esi, eax
call fcn.00409ba5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c219
test edi, edi
je 0x40c219
call esi
test eax, eax
je 0x40c210
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c210
test byte [ebp - 0xc], 1
jne 0x40c219
or dword [ebp + 0x10], 0x200000
jmp 0x40c252
mov eax, dword [0x433400]
cmp eax, ebx
je 0x40c252
push eax
call fcn.00409ba5
pop ecx
test eax, eax
je 0x40c252
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c252
mov eax, dword [0x433404]
cmp eax, ebx
je 0x40c252
push eax
call fcn.00409ba5
pop ecx
test eax, eax
je 0x40c252
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4333fc]
call fcn.00409ba5
pop ecx
test eax, eax
je 0x40c272
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c274
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5358d6
Capabilities:
Encrypt data using aes

Disassembly:
mov edi, dword [edi*4 + reloc.RASAPI32.dll_RasHangUpA]
neg ebp
not ebp
inc bl
jmp 0x535897
lea esp, [esp + 2]
shr edi, 8
inc ebp
and edi, esi
jmp 0x535841
mov edi, ecx
lea edi, [edi + 4]
mov ebx, dword [edi]
pop edi
jmp 0x53587a
inc bp
and eax, 0xff000000
sbb bp, 0xba9e
jmp 0x5358be
lea esp, [esp + 0xc]
and edi, 0xff0000
mov bp, si
push edi
jmp 0x53586c
pushal
mov si, word [esp]
mov bl, bh
btc edi, ebx
mov dword [esp], edx
jmp 0x5358fd
xor eax, edi
bswap edi
mov edi, dword [esp]
lea edi, [esi*4]
lea edi, [ebx + ebx]
jmp 0x5358a7
sub esp, 0xa
btr ebx, edx
jmp 0x535860
shr edi, 0x18
bswap ebp
pushal
bswap ebp
jmp 0x535932
sub esp, 8
lea esp, [esp + 8]
popal
lea ebp, [edx + edi]
sub esp, 0x16
lea esp, [esp + 2]
jmp 0x5358de
xor eax, edi
neg bp
mov edi, edx
clc
jmp 0x535c14
lea esp, [esp + 0x34]
movzx edi, byte [edi*4 + 0x513bbc]
mov ebp, dword [esp]
stc
bswap ebp
jmp 0x535911
lea ebp, [ecx + edi]
mov ebp, 0xff00
call fcn.005359fa
mov edi, dword [edi*4 + reloc.RASAPI32.dll_RasHangUpA]
sub esp, 0x12
pop word [esp + 7]
push edx
jmp 0x535bfe
lea esp, [esp + 0x4c]
and ecx, 0xff0000
pushal
cmc
pop dword [esp + 6]
jmp 0x535d42
add ebp, ebp
and edi, esi
mov edi, dword [edi*4 + reloc.RASAPI32.dll_RasHangUpA]
cmc
jmp 0x535bc5
shr edi, 0x18
lea esp, [esp + 0x50]
movzx edi, byte [edi*4 + 0x513bbc]
call fcn.00535c84
xor dword [eax + reloc.RASAPI32.dll_RasHangUpA], edi
adc eax, 0x148b3784
xchg ebp, eax
mov esp, 0xeb00513b
ficom dword [edx]
pushfd
xor dl, byte [ebp - 0x5c]
sbb ah, byte [ecx + ebp*8 + 0x79]
sbb bl, ch
pop esi
mov byte [ebx], ch
inc edx
mov edx, dword [edx*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0x535c22
and edx, esi
pushal
add esp, 1
lea esp, [esp + 3]
jmp 0x535c3f
pushal
lea esp, [esp + 2]
xor ecx, edi
mov edi, edx
jmp 0x535c57
lea esp, [esp + 0x1c]
and edi, 0xff000000
sub esp, 0x16
mov byte [esp], ch
mov dword [esp + 7], ecx
jmp 0x535c9d

Function at 0x53c705
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x53c8ad
pushal
jmp 0x53c6db
mov byte [esp + 0xf], ah
jmp 0x53c7cc
push dword [esp + 2]
pushal
jmp 0x53c73c
pop word [esp + 7]
push word [esp + 0x19]
lea esp, [esp + 0x20]
test eax, eax
pushal
jmp 0x53c77b
lea esp, [esp + 0x28]
push edi
neg di
mov edi, ecx
pushal
jmp 0x53c70c
lea esp, [esp + 7]
lea esp, [esp + 1]
lea esp, [esp + 0x18]
je 0x50b292
jmp 0x53c6d4
mov al, byte [edx]
call fcn.0053c8cd
adc dword [edx + reloc.RASAPI32.dll_RasHangUpA], edx
xchg ecx, eax
pop ss
xchg edx, esp
adc edx, ebx
or ah, byte [ebp - 0x611b82c]
lea esp, [esp + 0x20]
dec dword [esp + 8]
pushal
lea esp, [esp + 0x20]
jmp 0x53c7b3
lea esp, [esp + 4]
pop edi
call fcn.0053c850
dec dword [esp + 8]
mov eax, edi
push edx
jmp 0x53c87c

Function at 0x53c824
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
lea esp, [esp + 8]
jne 0x53c6d4
je 0x50b292
xchg edi, eax
dec cl
push 0x188228b

Function at 0x53ca3d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
cmp word [ecx + 0x18], ax
jmp 0x53caab