joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b13c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b13ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b13ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7611410c
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3a565151
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401330
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52a73b
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x559024]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push edi
mov eax, dword [0x559024]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
xor ebx, ebx
xor al, al
mov dword [esp + 0x20], edx
mov byte [esp + 0x12], al
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
cmp dword [esi], ebx
je 0x40150d
cmp byte [esi + 4], bl
je 0x401504
cmp ecx, ebx
je 0x4014fb
cmp word [ecx], bx
je 0x4014fb
cmp edx, ebx
je 0x4014fb
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00401820
mov dword [esp + 0x288], ebx
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x4014e5
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov byte [esp + 0x13], bl
cmp eax, 0xffffffff
je 0x4013eb
push eax
mov byte [esp + 0x17], 1
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi]
cmp dword [eax + 0x10], ebx
je 0x4014cc
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov edi, eax
cmp edi, ebx
je 0x4014cc
mov ecx, dword [esp + 0x14]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, 0xffffffff
je 0x4014a9
movzx edx, word [edi + 0x44]
movzx eax, word [edi + 0x46]
add eax, edx
cmp byte [esp + 0x13], 1
push ebx
lea edx, [esp + 0x1c]
push edx
push eax
push edi
mov dword [esp + 0x28], ebx
push ecx
jne 0x401479
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4014a9
mov ecx, dword [esp + 0x1c]
push ecx
mov byte [esp + 0x16], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
call fcn.00401930
mov al, byte [esp + 0x12]
jmp 0x401514
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4014a9
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ecx
mov byte [eax], 1
mov byte [esp + 0x16], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
call fcn.00401930
mov al, byte [esp + 0x12]
jmp 0x401514
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
call fcn.00401930
mov al, byte [esp + 0x12]
jmp 0x401514
mov eax, esi
call fcn.004018f0
lea ecx, [esp + 0x14]
mov dword [esi + 0x10], eax
call fcn.00401930
mov al, byte [esp + 0x12]
jmp 0x401514
lea ecx, [esp + 0x14]
mov dword [esi + 0xc], 0x65b
call fcn.00401930
mov al, byte [esp + 0x12]
jmp 0x401514
mov dword [esi + 0xc], 0x57
jmp 0x401514
mov dword [esi + 0x10], 0x47
jmp 0x401514
mov dword [esi + 0x10], 6
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.00513498
mov esp, ebp
pop ebp
ret
Function at 0x401540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a708
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor al, al
mov byte [ebp - 0xd], al
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
cmp dword [esi], ebx
je 0x4016b1
cmp byte [esi + 4], bl
je 0x401699
cmp ecx, ebx
je 0x401681
cmp word [ecx], bx
je 0x401681
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.00401820
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], ebx
je 0x401640
mov eax, dword [esi]
cmp dword [eax + 0x10], ebx
je 0x401634
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov edi, eax
cmp edi, ebx
je 0x401634
mov ecx, dword [ebp - 0x14]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401629
movzx eax, word [edi + 0x46]
movzx edx, word [edi + 0x44]
push 0
lea ecx, [ebp - 0x18]
push ecx
add eax, edx
push eax
push edi
push ebx
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401617
push ebx
mov byte [ebp - 0xd], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401647
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401647
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
jmp 0x401647
mov eax, esi
call fcn.004018f0
mov dword [esi + 0x10], eax
jmp 0x401647
mov dword [esi + 0xc], 0x65b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40166d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xc], 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], 0x47
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403bb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52dd82
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
mov eax, dword [0x559024]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov esi, 2
call fcn.00403ef0
xor ebx, ebx
mov dword [esp + 0x48], ebx
cmp dword [esp + 0x14], ebx
jle 0x403c6a
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x48], 1
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jne 0x403c28
mov ecx, 0x538640
lea edx, [esp + 0x1c]
push edx
call fcn.00466b30
xor eax, eax
cmp dword [esp + 0x24], ebx
jle 0x403c5a
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x403c47
mov eax, 0x538640
push eax
push 2
push str.CopyrightType
push str.CopyrightInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x4c], bl
call fcn.00466a90
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x403c83
push eax
call fcn.005134a7
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404970
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call fcn.00507f20
mov ecx, dword [ebp + 0xc]
movzx edx, word [ebp + 0x10]
push ecx
movzx ecx, word [ebp + 8]
shl edx, 0x10
or edx, ecx
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call fcn.00404700
mov byte [esi + 0x4b0], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4049b7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 0xc
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x2c], 6
pop ebp
ret 0xc

Function at 0x4049d0
Capabilities:
Hide graphical window

Disassembly:
call fcn.00507f20
push 0
push 0x17d8
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call fcn.00404700
mov byte [esi + 0x4b0], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x404a06
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x2c], 6
ret
Function at 0x406fe0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
mov edi, eax
push ebx
push edi
call fcn.004087a0
push esi
push ebx
push edi
call fcn.00408d10
lea eax, [edi + 0x1eec]
call fcn.00427e90
mov eax, dword [edi + 0x1ef0]
lea esi, [edi + 0xb8]
mov ebx, esi
mov dword [ebp - 4], eax
call fcn.0040dd90
call fcn.0040e0b0
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
mov ecx, esi
call fcn.0040d520
mov eax, dword [ebp - 4]
call fcn.0040e030
push ebx
push esi
call fcn.0040e890
mov ecx, dword [ebp + 8]
push 0
push 2
push ebx
push ecx
lea edx, [edi + 0x1a64]
push edx
call fcn.004fa3c0
mov eax, dword [edi + 0x1a94]
test eax, eax
je 0x407078
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004070a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x1a90]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x1a90], 6
call fcn.004070a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4070a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d8e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp byte [0x55adaa], bl
je 0x40713d
cmp byte [0x55b417], bl
je 0x40713d
cmp byte [0x55b418], bl
jne 0x40713d
push 0x55adf2
lea esi, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004fcba0
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x407106
mov eax, 0x538640
push eax
lea ebx, [edi + 0x1a64]
call fcn.004fa830
lea ecx, [edi + 0x1a90]
call fcn.00511390
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.004fc190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1a94]
cmp eax, ebx
je 0x407160
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1a90]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x1a90], 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ca10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a5df
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov eax, vtable.CMemDc.0
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov byte [esi + 0x5c], bl
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov byte [esi + 0x70], bl
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov byte [esi + 0x7c], bl
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], eax
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x90], bl
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov byte [esi + 0x9c], bl
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xac], vtable.CDibInfo.0
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xa0], vtable.CImgBltEx.0
mov dword [esi + 0xe0], 0x544264
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov byte [esi + 0xec], bl
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov byte [esi + 0xf4], bl
push 0x4052a0
push 0x435050
push 9
push 0x2ac
lea eax, [esi + 0xf8]
push eax
mov byte [ebp - 4], 6
call fcn.00513bdf
push 0x427760
push 0x427740
push 3
push 0x18
lea ecx, [esi + 0x1904]
push ecx
mov byte [ebp - 4], 7
call fcn.00513b7a
mov dword [esi + 0x194c], ebx
mov dword [esi + 0x1950], ebx
mov dword [esi + 0x1954], ebx
mov dword [esi + 0x1958], ebx
mov dword [esi + 0x195c], ebx
mov dword [esi + 0x1960], ebx
mov ecx, 0x24
lea eax, [esi + 0x1964]
mov byte [eax], bl
inc eax
dec ecx
jne 0x40cbd2
mov ecx, 0x24
lea eax, [esi + 0x1988]
mov byte [eax], bl
inc eax
dec ecx
jne 0x40cbe3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ec70
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535032
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x28], 0x539e10
mov dword [edi + 0x50], 0x544264
mov dword [edi + 0x60], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x40], al
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov byte [edi + 0x5c], al
mov dword [edi + 0x24], vtable.CChildWnd.0
mov dword [edi + 0x68], 0x539038
mov dword [edi + 0x90], 0x539040
mov dword [edi + 0xa0], 0x539048
mov dword [edi + 0x534], eax
lea eax, [edi + 0x64]
call fcn.00436640
lea esi, [edi + 0xfc]
mov dword [edi + 0x64], vtable.CAdvBaseWnd.0
call fcn.00405150
xor eax, eax
mov dword [edi + 0x518], eax
mov dword [edi + 0x51c], eax
mov dword [edi + 0x520], eax
mov dword [edi + 0x524], eax
mov dword [edi + 0x52c], eax
mov dword [edi + 0x530], eax
mov dword [edi + 0x514], eax
lea eax, [edi + 0x538]
push eax
mov byte [ebp - 4], 2
call fcn.00406490
mov ecx, 0x24
lea eax, [edi + 0xd250]
lea esp, [esp]
mov byte [eax], 0
inc eax
dec ecx
jne 0x40ed80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413350
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x40]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x413365
push 3
push eax
call edi
jmp 0x413373
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x3c], 6
mov eax, dword [esi + 0x834]
test eax, eax
je 0x413384
push 0
push eax
call edi
jmp 0x413398
mov edx, dword [esi + 0x830]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x830], 6
mov eax, dword [esi + 0xae0]
test eax, eax
je 0x4133a9
push 5
push eax
call edi
pop edi
ret
mov ecx, dword [esi + 0xadc]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0xadc], 6
pop edi
ret

Function at 0x4133c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x40]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4133d5
push 9
push eax
call edi
jmp 0x4133e3
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x3c], 6
mov eax, dword [esi + 0xae0]
test eax, eax
je 0x4133f4
push 0
push eax
call edi
jmp 0x413408
mov edx, dword [esi + 0xadc]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0xadc], 6
mov eax, dword [esi + 0x834]
test eax, eax
je 0x413419
push 5
push eax
call edi
pop edi
ret
mov ecx, dword [esi + 0x830]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x830], 6
pop edi
ret

Function at 0x413620
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 2
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
lea esi, [edi + 0x1fc]
jne 0x413683
mov eax, dword [esi + 0x638]
test eax, eax
je 0x413648
push 0
push eax
call ebx
jmp 0x41365c
mov eax, dword [esi + 0x634]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x634], 6
mov eax, dword [esi + 0x8e4]
test eax, eax
je 0x41366d
push 5
push eax
call ebx
jmp 0x4136d3
mov edx, dword [esi + 0x8e0]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x8e0], 6
jmp 0x4136d3
mov eax, dword [esi + 0x8e4]
test eax, eax
je 0x413694
push 0
push eax
call ebx
jmp 0x4136a8
mov ecx, dword [esi + 0x8e0]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x8e0], 6
mov eax, dword [esi + 0x638]
test eax, eax
je 0x4136b9
push 5
push eax
call ebx
jmp 0x4136cd
mov eax, dword [esi + 0x634]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x634], 6
cmp dword [ebp + 0xc], 0
jne 0x4136fb
mov ebx, dword [ebp + 8]
lea eax, [edi + 0xb8]
call fcn.00511440
mov ebx, dword [ebp + 0x10]
mov eax, ebx
call fcn.00414280
mov eax, dword [ebp + 0x14]
lea esi, [edi + 0x1028]
call fcn.004f9040
jmp 0x4136fe
mov ebx, dword [ebp + 0x10]
mov dx, word [edi + 0x12bc]
sub dx, word [edi + 0x12a0]
mov cx, word [edi + 0x12a4]
add dx, word [ebp + 0x14]
add cx, cx
movzx eax, dx
sub bx, cx
mov ecx, dword [edi + 0x12f4]
movzx edx, bx
shl eax, 0x10
or eax, edx
push eax
mov eax, dword [ebp + 0xc]
push eax
push 5
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x415a20
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, eax
call fcn.004177c0
mov edi, eax
test edi, edi
js 0x415aa6
mov eax, dword [esi + 0x30]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x415a59
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x415a4b
push 0
push ecx
call ebx
jmp 0x415a59
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 4]
mov dword [eax + edx + 0x2c], 6
mov eax, dword [esi + edi*8 + 0x34]
mov dword [esi + 0x30], eax
mov ecx, dword [esi + edi*8 + 0x38]
push ecx
call fcn.00507fc0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x415a8d
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x415a7f
push 5
push ecx
call ebx
jmp 0x415a8d
mov edx, dword [eax + 0x2c]
mov ecx, dword [edx + 4]
mov dword [eax + ecx + 0x2c], 6
mov edi, dword [esi + 0x30]
test edi, edi
je 0x415a99
call fcn.004197e0
mov esi, dword [esi + 0x30]
test esi, esi
je 0x415aa6
push esi
call fcn.00419f10
pop edi
pop esi
pop ebx
ret
Function at 0x418020
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
lea edi, [esi + 0x8c]
push edi
mov ecx, str.BrCcAdvnc.sdd
call fcn.00466b30
push str.AdvFuncTabWnd_ClientWnd
lea eax, [esi + 0x9c]
call fcn.004fcf00
mov eax, dword [edi + 0x10]
xor ebx, ebx
cmp eax, ebx
jne 0x418057
mov eax, 0x538640
mov dword [ebp - 8], ebx
cmp dword [edi + 8], ebx
jle 0x418085
cmp eax, ebx
je 0x418085
cmp word [eax], bx
je 0x418085
mov ecx, dword [edi + 4]
cmp ecx, ebx
jne 0x418074
mov ecx, 0x538640
push ecx
push ebx
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x418091
mov ecx, 0x538640
mov dword [ebp - 4], ebx
cmp dword [edi + 8], ebx
jle 0x4180bf
cmp ecx, ebx
je 0x4180bf
cmp word [ecx], bx
je 0x4180bf
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4180ae
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x4180cb
mov ecx, 0x538640
cmp dword [edi + 8], ebx
jle 0x4180f6
test ecx, ecx
je 0x4180f6
cmp word [ecx], bx
je 0x4180f6
mov eax, dword [edi + 4]
test eax, eax
jne 0x4180e5
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x418102
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x41812d
test ecx, ecx
je 0x41812d
cmp word [ecx], ax
je 0x41812d
mov eax, dword [edi + 4]
test eax, eax
jne 0x41811e
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push esi
push ecx
mov ecx, dword [ebp - 8]
push edx
push eax
mov eax, dword [ebp - 4]
push ebx
push eax
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0x40000000
push 0
mov eax, str.ControlCenter4_AdvTabPageWndCls
mov edx, esi
call fcn.005109b0
mov ebx, dword [ebp + 0xc]
mov edi, eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test edi, edi
je 0x4181b1
mov edx, dword [ebp + 8]
push edx
push esi
call fcn.0041c1f0
cmp dword [esi + 0x31f74], 0
mov dword [esi + 0x214], ebx
jle 0x418196
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x334], ebx
mov dword [esi + 0x3c4], ebx
mov eax, dword [ebp + 8]
push ebx
push edi
push eax
push esi
call fcn.0041c360
push esi
call fcn.00419f10
mov cl, byte [ebp + 0x14]
mov byte [esi + 0x33480], cl
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x10