joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10039e42
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x10155857
call fcn.10143b74
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x10039fd3
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x10039fa5
sub eax, 1
je 0x10039ec1
sub eax, 1
je 0x10039e99
sub eax, 1
je 0x10039ec1
push 0x10163418
mov ecx, edi
call fcn.100087b9
mov eax, edi
call fcn.10143b23
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x10039e83
lea eax, [ebp - 0x4e8]
push eax
jmp 0x10039e88
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10039e83
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.100208b2
test eax, eax
je 0x10039e83
lea ecx, [ebp - 0x700]
call fcn.10008863
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x10039f5b
test byte [ebp - 0x428], 0x18
jne 0x10039f7d
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x10162a6c]
mov ecx, ebx
call esi
jmp 0x10039f7d
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x10162a6c]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.100090ea
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.10009e10
jmp 0x10039e8f
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x10039e83
lea eax, [ebp - 0x6f0]
jmp 0x10039ebe
call fcn.1000d6b5
int3

Function at 0x1003a14b
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.1008a026
call fcn.1000e610
cmp dword [eax + 0x14], 0
jne 0x1003a166
mov ecx, esi
pop esi
jmp fcn.10039464
pop esi
ret

Function at 0x1003aae1
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x101af064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2bc], esi
test eax, eax
je 0x1003ab4b
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x1003ab30
lea eax, [ebp - 0x2ac]
push eax
jmp 0x1003ab35
push 0x1016c800
call fcn.100087b9
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10143b01
leave
ret 8
call fcn.1000d6b5
int3
Function at 0x1003b030
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.10004080
call fcn.1000e610
cmp dword [eax + 0x14], 0
jne 0x1003b04b
mov ecx, esi
pop esi
jmp fcn.1003a88b
pop esi
ret
Function at 0x10044058
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x10044071
call fcn.1000e5bc
mov esi, dword [eax + 0xc]
push 0x1016ded8
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x100440b3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100440b3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x100440b3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.100440bc
jmp 0x100440b5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100e091e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100e094b
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x100e0960
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100e0960
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.10017561
jmp 0x100e0a31
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.10017561
cmp eax, edi
jne 0x100e0a3b
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x100e09cd
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x100e0a11
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x100e0a3b
cmp eax, 0x205
je 0x100e0a3b
cmp eax, 0x201
je 0x100e0a3b
cmp eax, 0x204
je 0x100e0a3b
cmp eax, 0x100
jne 0x100e09f9
cmp dword [ebp - 0x18], 0x1b
je 0x100e0a3b
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x100e0a31
ja 0x100e0a2a
cmp eax, dword [0x101b6760]
jbe 0x100e0a31
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x100e0982
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100e0e13
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x100e0e49
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.10008e36
test eax, eax
je 0x100e0e31
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100facbb
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call sub.msvcrt.dll_rand_s
pop ecx
test eax, eax
jne 0x100facfd
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.1000c262
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100facc3
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret

Function at 0x101021ff
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x10155114
call fcn.10143b41
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x101022eb
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x101022eb
cmp esi, 0x43
je 0x10102241
cmp esi, 0x2d
jne 0x101022eb
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x101022eb
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.10008863
movzx eax, byte [edi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [edi + 0xe5]
push eax
movzx eax, byte [edi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.10009471
mov esi, dword [ebp - 0x10]
add esp, 0x14
lea eax, [esi - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x101022d9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x101022d9
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
call fcn.10009e10
push ebx
mov ecx, edi
call fcn.100ff685
call fcn.10143b0f
ret 4
Function at 0x10145950
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x101af064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x10145977
mov ecx, 5
int 0x29
push 2
call fcn.10144616
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x10145a82
test esi, esi
jne 0x10145a82
push 2
call fcn.10144616
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10143b01
mov esp, ebp
pop ebp
ret
Function at 0x1014ea50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.1014ea80
mov esi, dword [ebp + 8]
test al, al
je 0x1014ea6e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.1014ea90
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1014f150
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x101af064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1014f24b
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x1014f24b
xor ecx, ecx
mov al, byte [esi + ecx]
lea edx, [ecx + ecx]
test al, al
je 0x1014f1aa
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x1014f188
jmp 0x1014f24b
cmp edx, 0x200
jae 0x1014f29b
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x1014f24b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x1014f24a
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x1014f24a
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x1014f27d
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x1014f230
pop edi
bt dword [0x10162d88], 0
mov edx, str.setlocale
mov ecx, 0x101ae010
call fcn.1014f3d0
test eax, eax
je 0x1014f289
push esi
push ebx
call eax
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10143b01
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x1014f24a
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10143b01
mov esp, ebp
pop ebp
ret
call fcn.101440a1
int3
Function at 0x401800
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
mov ebp, dword [sym.imp.MSVCRT.dll_fseek]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov bl, 0x10
add esp, 4
test byte [eax + 0xc], bl
jne 0x401997
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x401997
push eax
push 1
lea ecx, [esp + 0x1c]
push 1
push ecx
call edi
mov eax, dword [esp + 0x24]
add esp, 0x10
and eax, 0xff
cmp eax, 0x3b
ja case.0x4018a9.2
xor edx, edx
mov dl, byte [eax + 0x4019d0]
jmp dword [edx*4 + 0x4019bc]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push eax
push 1
push 1
push ecx
call edi
mov edx, dword [esp + 0x24]
add esp, 0x10
and edx, 0xff
lea eax, [edx - 1]
cmp eax, 0xfe
ja case.0x4018a9.2
xor ecx, ecx
mov cl, byte [eax + 0x401a14]
jmp dword [ecx*4 + 0x401a0c]
mov eax, dword [esi]
test byte [eax + 0xc], bl
jne case.0x401871.0
push eax
push 1
lea edx, [esp + 0x1c]
push 1
push edx
call edi
mov eax, dword [esp + 0x24]
add esp, 0x10
test al, al
je case.0x401871.0
and eax, 0xff
push 1
push eax
mov eax, dword [esi]
push eax
call ebp
mov eax, dword [esi]
add esp, 0xc
test byte [eax + 0xc], bl
je 0x4018bb
jmp case.0x401871.0
mov edx, dword [esp + 0x18]
mov ecx, dword [esi]
push 1
inc edx
push 8
push ecx
mov dword [esp + 0x24], edx
call ebp
mov edx, dword [esi]
lea eax, [esp + 0x1f]
push edx
push 1
push 1
push eax
call edi
mov cl, byte [esp + 0x2f]
add esp, 0x1c
test cl, 0x80
je 0x401937
and ecx, 7
mov eax, 1
inc ecx
mov edx, dword [esi]
shl eax, cl
push 1
lea ecx, [eax + eax*2]
push ecx
push edx
call ebp
add esp, 0xc
mov eax, dword [esi]
test byte [eax + 0xc], bl
jne case.0x4018a9.2
push eax
push 1
lea eax, [esp + 0x1c]
push 1
push eax
call edi
mov eax, dword [esi]
add esp, 0x10
test byte [eax + 0xc], bl
jne case.0x401871.0
push eax
push 1
lea ecx, [esp + 0x1c]
push 1
push ecx
call edi
mov eax, dword [esp + 0x24]
add esp, 0x10
test al, al
je case.0x401871.0
mov edx, dword [esi]
and eax, 0xff
push 1
push eax
push edx
call ebp
mov eax, dword [esi]
add esp, 0xc
test byte [eax + 0xc], bl
je 0x401954
jmp case.0x401871.0
mov dword [esp + 0x1c], 1
mov eax, dword [esi]
test byte [eax + 0xc], bl
je 0x40183c
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
push 0
push eax
push ecx
call ebp
mov eax, dword [esp + 0x24]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
Function at 0x404cc0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0x2c]
mov ebp, dword [eax + 0x1c]
test ecx, ecx
push edi
je 0x404d18
mov dl, byte [eax + 0x34]
xor ecx, ecx
cmp word [eax + 6], cx
jbe 0x404d5b
mov edi, dword [esp + 0x14]
xor esi, esi
cmp word [eax + 4], si
jbe 0x404d02
mov bl, byte [ebp]
inc ebp
cmp bl, dl
je 0x404cf7
mov bl, byte [ebp - 1]
mov byte [esi + edi], bl
xor ebx, ebx
inc esi
mov bx, word [eax + 4]
cmp esi, ebx
jl 0x404ce9
mov ebx, dword [esp + 0x18]
xor esi, esi
mov si, word [eax + 6]
add edi, ebx
inc ecx
cmp ecx, esi
jl 0x404ce1
pop edi
pop esi
pop ebp
pop ebx
ret
xor edx, edx
cmp word [eax + 6], dx
jbe 0x404d5b
mov edi, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [eax + 4]
mov ebx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [eax + 4]
xor esi, esi
mov si, word [eax + 6]
add ebp, ecx
add edi, ebx
inc edx
cmp edx, esi
mov dword [esp + 0x14], edi
jl 0x404d2a
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42e411
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
mov dword [esi], 0x432afc
call fcn.0040f3c0
lea edi, [esi + 0x1a0]
mov ecx, 0xcc
xor eax, eax
push 0x4076e0
rep stosd dword es:[edi], eax
push 0x407620
push 7
lea eax, [esi + 0x4d0]
xor ebx, ebx
push 0x2f8
push eax
mov dword [esp + 0x30], ebx
call fcn.0042c0be
push 0x18
mov byte [esp + 0x20], 1
mov dword [esi + 0x199c], ebx
mov dword [esi + 0x19a0], ebx
mov dword [esi + 0x19a4], ebx
mov dword [esi + 0x19a8], ebx
mov dword [esi + 0x19ac], ebx
mov dword [esi + 0x19b8], ebx
mov dword [esi + 0x19bc], ebx
mov dword [esi + 0x19c0], ebx
mov dword [esi + 0x19c4], ebx
mov dword [esi + 0x19c8], ebx
mov dword [esi + 0x19cc], ebx
mov dword [esi + 0x19d0], ebx
mov dword [esi + 0x19d8], ebx
mov dword [esi + 0x19dc], ebx
mov dword [esi + 0x19e0], ebx
mov dword [esi], 0x432acc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x1c], 2
je 0x40542e
mov ecx, eax
call fcn.00409ad0
mov dword [esi + 0x1998], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x1998], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4059b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42e4c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 8]
push str._s_s
push edx
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
add esp, 0x10
push eax
push ecx
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40f9d0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x42eb73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 0x50]
mov dword [esi], 0x432ca0
mov ecx, ebp
call fcn.0040ee50
push fcn.0040af00
push fcn.0040aef0
push 0xc
lea eax, [esi + 0x2147c]
xor edi, edi
push 4
push eax
mov dword [esp + 0x30], edi
call fcn.0042c0be
mov ebx, 1
mov dword [esi + 0x44], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x21470], edi
mov ecx, 0x8500
xor eax, eax
lea edi, [esi + 0x70]
mov dword [esi], 0x432c84
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x21530], ebx
push str.res_avtpanel.mif
rep stosd dword es:[edi], eax
mov ecx, 0x21
lea edi, [esi + 0x214ac]
rep stosd dword es:[edi], eax
mov ecx, 0xc
lea edi, [esi + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x28]
mov ecx, 0x440b20
mov byte [esp + 0x20], bl
mov dword [0x440b3c], edi
mov dword [0x440c4c], ebp
call fcn.0040b000
push str.res_avtclose.mif
mov ecx, 0x440b30
call fcn.0040b000
push str.res_avtlogo.mif
mov ecx, 0x440b24
call fcn.0040b000
push str.res_avtlink.mif
mov ecx, 0x440b34
call fcn.0040b000
push str.res_avtmore_link.mif
mov ecx, 0x440b38
call fcn.0040b000
push str.res_avt_next.mif
mov ecx, 0x440b28
call fcn.0040b000
push str.res_avtprev.mif
mov ecx, 0x440b2c
call fcn.0040b000
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x68], edi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4108c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42ebc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov edx, dword [esp + 0x14]
push ebp
push esi
mov ebp, ecx
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jg 0x410925
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
push eax
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp + 0x68]
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], 0
xor esi, esi
cmp byte [esi + eax], 0
jge 0x410948
add esi, 2
jmp 0x410949
inc esi
cmp esi, 4
jl 0x41093d
mov eax, esi
push 0x2e
push eax
lea ecx, [esp + 0x28]
inc esi
call sub.MFC42.DLL_CString::SetAt
mov eax, esi
push 0x2e
push eax
lea ecx, [esp + 0x28]
inc esi
call sub.MFC42.DLL_CString::SetAt
mov eax, esi
push 0x2e
push eax
lea ecx, [esp + 0x28]
inc esi
call sub.MFC42.DLL_CString::SetAt
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
push ecx
push edx
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0x68]
mov edx, dword [ecx]
call dword [edx + 0x3c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x10
ret 0xc