joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d820
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push esi
push edi
mov ecx, 0xb
mov esi, str.SYSTEMCurrentControlSetServicesSDNXMonitor
lea edi, [esp + 0x18]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x34
lea edi, [esp + 0x46]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 4
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push 0x20019
push esi
push ecx
push 0x80000002
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d8af
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
push str.Start
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40d8af
cmp dword [esp + 8], 2
jne 0x40d8af
mov esi, 1
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x110
ret
Function at 0x1257e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], esi
je 0x125ec
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x1c]
add ecx, edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x20]
add ecx, edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov ebx, esi
cmp dword [eax + 0x14], esi
jbe 0x125eb
mov eax, dword [ecx + ebx*4]
add eax, edi
push 0x115a8
push eax
call dword [0x16014]
pop ecx
test eax, eax
mov eax, dword [ebp - 4]
pop ecx
je 0x125d9
mov ecx, dword [ebp - 8]
inc ebx
cmp ebx, dword [eax + 0x14]
jb 0x125b4
jmp 0x125eb
mov eax, dword [eax + 0x24]
mov esi, dword [ebp - 0xc]
lea eax, [eax + ebx*2]
movzx eax, word [eax + edi]
mov esi, dword [esi + eax*4]
add esi, edi
pop ebx
call fcn.00013505
sub eax, dword [0x16040]
xor ecx, ecx
cmp eax, 0x7fff
cmova esi, ecx
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x131cd
Capabilities:
Accept command line arguments
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x1123c
mov dword [ebp - 8], ecx
call edi
push eax
call dword [0x16008]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x131f8
xor al, al
jmp 0x1325f
add esi, 0x2a
push 0x20
push esi
call dword [0x16004]
pop ecx
pop ecx
test eax, eax
jne 0x13217
push ecx
push 0x11268
call fcn.0001248a
jmp 0x131f4
sub eax, esi
sar eax, 1
cmp eax, 2
jae 0x13231
push ecx
push 0x1127c
call fcn.0001248a
push ecx
call edi
push eax
jmp 0x13210
lea edi, [eax + eax]
push ebx
lea eax, [edi + 2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x13263
push ecx
push 0x11290
call fcn.0001248a
xor al, al
pop ebx
pop edi
pop esi
leave
ret
push edi
push esi
push ebx
call dword [0x16020]
add esp, 0xc
xor eax, eax
push ebx
mov word [edi + ebx], ax
xor ebx, ebx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x132a8
push ecx
push 0x112a4
call fcn.0001248a
push 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, 0x16048
call fcn.00012423
jmp 0x1325c
mov esi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
push ebx
push ebx
push 4
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x132c4
push ecx
push 0x112b8
jmp 0x1328e
push 0x20
push ebx
push dword [ebp - 8]
call dword [0x16020]
add esp, 0xc
call fcn.0001340c
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x1325c
mov eax, dword [ebx + 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, 0x18
mov edx, eax
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.000133bb
test al, al
je 0x1325c
lea edx, [ebp - 4]
mov ecx, edi
call fcn.000133bb
test al, al
je 0x1325c
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ebp - 8]
push 2
push dword [eax]
call esi
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x13339
push ecx
push 0x112cc
jmp 0x1328e
mov eax, dword [ebx + 0x24]
lea esi, [ebx + 0x28]
lea eax, [esi + eax*4]
mov dword [ebp - 0xc], eax
cmp esi, eax
je 0x13367
mov edx, dword [esi]
add edx, ecx
mov ecx, edi
call fcn.000133bb
test al, al
je 0x1325c
mov ecx, dword [ebp - 8]
add esi, 4
cmp esi, dword [ebp - 0xc]
jne 0x13349
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x1337f
push ecx
push 0x112e0
jmp 0x1328e
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call edi
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
push ebx
call edi
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
jmp 0x1325e
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00431219
Function at 0x46cae2
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x477008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], eax
jb 0x46cb35
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi], 3
jmp 0x46cc00
push esi
mov esi, dword [ebx + 0x18]
mov ecx, esi
call dword [0x47a4c4]
mov ecx, dword [ebp - 0xc]
jmp 0x46cbea
cmp ecx, 0x61
jb 0x46cb53
cmp ecx, 0x7a
jbe 0x46cbd0
lea eax, [ecx - 0x41]
cmp eax, 0x19
jbe 0x46cbd0
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x46cbd0
cmp ecx, 0x2f
ja 0x46cb99
cmp ecx, 0x28
jae 0x46cbd6
cmp ecx, 0xa
je 0x46cbd6
cmp ecx, 0xd
je 0x46cbd6
cmp ecx, 0x1f
jbe 0x46cbb7
cmp ecx, 0x21
jbe 0x46cbd6
cmp ecx, 0x22
jbe 0x46cbb7
cmp ecx, 0x25
jbe 0x46cbd6
cmp ecx, 0x27
jne 0x46cbb7
cmp dword [ebx + 0x24], 0xa
sete al
jmp 0x46cbd2
cmp ecx, 0x3a
jb 0x46cbb7
cmp ecx, 0x3b
jbe 0x46cbd6
cmp ecx, 0x3d
je 0x46cbd6
cmp ecx, 0x3e
jbe 0x46cbb7
cmp ecx, 0x40
jbe 0x46cbd6
cmp ecx, 0x5f
je 0x46cbd6
mov eax, dword [ebp - 0xc]
mov dword [edi], 0xc
sub eax, dword [ebx + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x10], eax
xor eax, eax
jmp 0x46cbff
mov al, 1
test al, al
je 0x46cbb7
mov esi, dword [ebx + 0x18]
mov ecx, esi
inc dword [ebp - 8]
mov dword [ebp - 0xc], edx
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call esi
mov ecx, eax
mov dword [ebp - 0x14], edx
cmp ecx, 0xffffffff
jne 0x46cb49
mov eax, edx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00456cf0
mov esp, ebp
pop ebp
ret

Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x58ed78b4
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x754b0257
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x15369
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.00015330
pop ebp
jmp fcn.00015216

Function at 0x20bb1
Capabilities:
Encode data using xor

Disassembly:
pushal
lea esp, [esp + 0x28]
je 0x222fd
call fcn.000208cd
xchg ebx, eax
mov eax, 0x1f918f52
xchg ecx, eax
pop ds
cmp eax, esp
xor ebp, edx
sbb bh, 0xf3
insb byte es:[edi], dx
xchg bl, bh
dec edi
adc al, 0xfe
jno 0x20bc5
inc eax
push 0xffffffffffffffc2
mov esp, 0xc83ce5d3
push ebx
mov al, byte [esp + eax*4]
sub al, 9
mov eax, dword [0xb90953da]
invalid
Function at 0x401460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
mov esi, eax
xor eax, eax
test esi, esi
je 0x4014b8
cmp byte [ebx + esi - 1], 0xa
je 0x40148c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x405084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x401ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call dbg.__wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x401c84
mov edx, dword fs:[0x18]
xor eax, eax
mov edi, dword [0x405084]
cmp dword [edx + 0x24], edi
je 0x401be3
test byte [0x402018], 8
jne 0x401c30
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x402028], 8
jne 0x401bf0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401b85
cmp esi, 3
ja 0x401b85
mov ecx, dword [ebp + 0xc]
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
lea edx, [ecx + 1]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4040e4]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.3
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x401b96
mov esi, edx
mov dword [esp + 0xc], edi
mov dword [esp + 4], 1
shr esi, 0x10
test edx, 0x8080
mov dword [esp], ebx
cmove edx, esi
lea esi, [ecx + 2]
mov eax, edx
cmove ecx, esi
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x402028
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x401b20
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x401b20
mov dword [esp], 0x402018
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x401b0b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
mov ecx, eax
lea ebx, [ebp - 0xd4]
mul edx
mov dword [esp + 4], str._3u._03u:
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x401b13
mov eax, 0xffffffff
jmp 0x401be3

Function at 0x401cf0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov ebx, dword [eax]
call sym.___p___wargv
mov esi, dword [eax]
call sym.__get_initial_wide_environment
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
cmp word [edx + eax + 0x5c], 2
sete dl
movzx edx, dl
add edx, 1
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dbg.wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x404850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444ae3
mov eax, dword fs:[0]
push eax
mov eax, dword [0x45c4f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], vtable.MULIB::CmuObject.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [eax + 4], ecx
mov edx, 1
mov dword [ebp - 4], edx
mov dword [eax], vtable.MULIB::CmuControl.0
mov dword [eax + 0x44], 0xf
mov dword [eax + 0x40], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 2
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x50], edx
mov dword [ebp - 4], 3
mov dword [eax], vtable.MULIB::CmuImageControl.0
mov dword [eax + 0x54], ecx
mov byte [ebp - 4], 4
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x404bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444a88
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45c4f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [eax], vtable.MULIB::CmuObject.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [eax + 4], ecx
mov edx, 1
mov dword [ebp - 4], edx
mov dword [eax], vtable.MULIB::CmuControl.0
mov dword [eax + 0x44], 0xf
mov dword [eax + 0x40], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 2
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x50], edx
mov dword [ebp - 4], 3
mov dword [eax], vtable.MULIB::CmuPlaceholder.0
mov dword [eax + 0x54], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4062f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x45c4f4]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x40]
push eax
push ecx
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_BeginPaint]
lea edx, [esp + 0x48]
mov esi, eax
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x406344
mov ecx, dword [edi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
call ebx
jmp 0x406364
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call ebx
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
sub edi, dword [esp + 0x30]
sub ebx, dword [esp + 0x34]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x14]
push ebx
push edi
push edx
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xc]
add ecx, 0x18
cmp dword [ecx + 0x4c], 0
mov dword [esp + 0x18], eax
je 0x4063fc
cmp dword [ecx + 0x50], 0
je 0x4063fc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x20]
push edx
push esi
call eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 0x24]
je 0x4063fc
jmp 0x4063db
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax]
push esi
call fcn.00403920
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add eax, 4
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 0x24]
jne 0x4063d7
mov edx, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push esi
push ebx
push edi
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x40]
push edx
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0043b28c
mov esp, ebp
pop ebp
ret 8
Function at 0x409240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4448e8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x45c4f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], vtable.MULIB::CmuObject.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [eax + 4], ecx
mov edx, 1
mov dword [ebp - 4], edx
mov dword [eax], vtable.MULIB::CmuControl.0
mov dword [eax + 0x44], 0xf
mov dword [eax + 0x40], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 2
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x50], edx
mov dword [ebp - 4], 3
mov dword [eax + 0x58], ecx
mov ecx, 0x7f84
mov dword [eax], vtable.MULIB::CmuDragControlLeft.0
mov word [eax + 0x54], cx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a2b0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x45c4f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, 2
mov dword [ebp - 0x198], ebx
jmp 0x40a2e0
movzx edx, byte [ebp - 0x198]
movzx ecx, bl
shl cx, 8
lea eax, [ebp - 0x194]
push eax
or cx, dx
movzx eax, cx
push eax
call esi
test eax, eax
je 0x40a312
test ebx, ebx
jle 0x40a309
dec ebx
jmp 0x40a2e0
mov ebx, dword [ebp - 0x198]
dec ebx
jmp 0x40a2d0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0043b28c
mov esp, ebp
pop ebp
ret

Function at 0x40a430
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push esi
mov esi, ecx
call fcn.0040a220
test al, al
jne 0x40a43e
pop esi
ret
mov eax, dword [esi + 0x18]
push 0x1388
push eax
mov byte [esi + 0x14], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x18]
push ecx
cmp eax, 0x102
jne 0x40a483
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [esi + 0x18]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
xor al, al
pop esi
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
mov al, 1
pop esi
ret