joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ecf0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471b98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046a870
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043e690
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046a79e
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00467062
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00467062
push 1
push 0
push 0
mov ecx, esi
call fcn.0046700a
push 1
push 0
push 1
mov ecx, esi
call fcn.0046700a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046a8e2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43ee70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046a870
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043e690
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046a79e
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43ef34
cmp dword [esp + 0x40], 1
jne 0x43ef32
cmp ecx, eax
jge 0x43ef34
mov eax, ecx
cmp eax, 0xc8
jge 0x43ef40
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043ecf0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046a8e2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f6b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471c23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00465480
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046ab18
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046c12e
test eax, eax
je 0x43f7cc
mov ecx, dword [esp + 0x3c]
call fcn.0046ab45
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43f790
push edi
mov ecx, esi
call fcn.004681a9
mov ecx, esi
call fcn.0043f930
cmp dword [esp + 0x38], 1
jne 0x43f7c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004682e4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x442200
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442233
push esi
call fcn.00445300
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44222c
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 0x4422b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4422a2
mov eax, dword [esi + 8]
test eax, eax
je 0x442257
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 0x44229e
cmp eax, 2
je 0x4422a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44224a
cmp eax, 3
je 0x44227d
cmp eax, 1
jne 0x44224a
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 0x44224a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44224a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004422e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4422c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004422e0
add esp, 4
pop esi
ret

Function at 0x44de00
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 0x44dea3
test eax, eax
jbe 0x44dea3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44dea3
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 0x44de4e
xor esi, esi
jmp 0x44de54
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44de7f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00405eb0
add esi, eax
push esi
mov ebx, esi
call fcn.00405eb0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44de60
pop ebp
test edi, edi
pop edi
jne 0x44dea3
test ebx, ebx
je 0x44dea3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00454c50
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44dfe5
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 0x44e0fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44e0fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004658d2
mov esi, eax
test esi, esi
je 0x44e0fd
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 0x44e0fd
mov ecx, esi
call fcn.0044df50
cmp edi, eax
jge 0x44e0fd
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 0x44e083
mov dword [esp + 0x34], 1
jmp 0x44e0de
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44e0fd
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.0044d540
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 0x450110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47214f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x494da0]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x18]
mov edi, 1
push ecx
mov dword [esp + 0x34], edi
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x450168
mov esi, dword [esp + 0x38]
push 0x4b19e0
mov ecx, esi
call fcn.00463f2d
mov dword [esp + 0x10], edi
jmp 0x4501ce
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
je 0x45018e
mov esi, dword [esp + 0x38]
push 0x4b19e0
mov ecx, esi
call fcn.00463f2d
jmp 0x4501ca
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.00463ffc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.RPCRT4.dll_RpcStringFreeA]
push 0x4b19e0
push 0x49422c
lea ecx, [esp + 0x14]
call fcn.00461589
mov esi, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00463c34
mov dword [esp + 0x10], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.00463ebf
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x466275
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4662ad
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.0046431a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004642f2
jmp 0x4662b9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x467966
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 0x4679a8
call fcn.0046d51f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4679a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46799f
xor eax, eax
jmp 0x4679b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004679b6
pop edi
pop esi
pop ebx
ret 4

Function at 0x46da4f
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 0x46da7d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46da9b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046d9b5
jmp 0x46da9b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46da9b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046d9b5
test edi, edi
mov eax, edi
jne 0x46da85
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x479b7b62
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x26d5e95
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
push 0x42b598
push 0
push 0x42b5a4
push 0x42b5ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x42c], eax
mov ecx, dword [ebp - 4]
call fcn.00401a00
cmp dword [ebp + 8], 0
je 0x40103f
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
jmp 0x401046
mov dword [ebp - 8], 0x42b5b4
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x20c
push ecx
call fcn.0041c3e0
add esp, 8
push 0x42b5bc
mov edx, dword [ebp - 4]
add edx, 0x20c
push edx
call fcn.0041c3e0
add esp, 8
cmp dword [ebp + 8], 0
je 0x401081
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jmp 0x401088
mov dword [ebp - 0xc], 0x42b5c4
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x310
push edx
call fcn.0041c3e0
add esp, 8
push 0x42b5cc
mov eax, dword [ebp - 4]
add eax, 0x310
push eax
call fcn.0041c3e0
add esp, 8
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x20c
push ecx
call fcn.00416b06
add esp, 8
test eax, eax
jge 0x401148
mov ecx, dword [ebp - 4]
call fcn.00401a00
push str...us_
mov edx, dword [ebp - 4]
add edx, 0x20c
push edx
call fcn.0041c3e0
add esp, 8
cmp dword [ebp + 8], 0
je 0x4010f9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
jmp 0x401100
mov dword [ebp - 0x10], 0x42b5dc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x20c
push edx
call fcn.0041c3e0
add esp, 8
push 0x42b5e4
mov eax, dword [ebp - 4]
add eax, 0x20c
push eax
call fcn.0041c3e0
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 0x20c
push ecx
mov edx, dword [ebp - 4]
add edx, 0x310
push edx
call fcn.0041c3d0
add esp, 8
mov eax, dword [ebp - 4]
add eax, 0x20c
push eax
push 0x200
mov ecx, dword [ebp - 4]
add ecx, 0xc
push ecx
push 0x42b5e9
push str.Signature
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
push str.DVR_TEXT
call fcn.00415cc4
add esp, 8
test eax, eax
je 0x40119e
mov eax, dword [ebp - 4]
mov byte [eax + 0x20c], 0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x310], 0
mov ecx, dword [ebp - 4]
call fcn.00401490
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x401490
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x434084]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], str.Fonts
mov dword [ebp - 8], str.Fonts.win95
mov ecx, dword [ebp - 0x154]
call fcn.00401440
test eax, eax
jne 0x40151f
mov eax, dword [ebp - 0x154]
add eax, 0x20c
push eax
push 0x100
lea ecx, [ebp - 0x110]
push ecx
push 0x42b670
mov edx, dword [str.Normal]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx ecx, byte [ebp - 0x110]
test ecx, ecx
je 0x401509
mov edx, dword [ebp - 8]
mov dword [ebp - 0x150], edx
push str.MS_Sans_Serif_8
lea eax, [ebp - 0x110]
push eax
call fcn.0041c3d0
add esp, 8
jmp 0x401533
push str.Tahoma_10
lea ecx, [ebp - 0x110]
push ecx
call fcn.0041c3d0
add esp, 8
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x154]
call fcn.00401250
test eax, eax
je 0x401569
lea ecx, [ebp - 0x14c]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x428], eax
mov dword [ebp - 4], 0
jmp 0x40157b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 5
jae 0x40161f
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x154]
mov dword [edx + ecx*4 + 0x414], 0
mov eax, dword [ebp - 0x154]
add eax, 0x20c
push eax
push 0x100
lea ecx, [ebp - 0x110]
push ecx
push 0x42b68e
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x434060]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx edx, byte [ebp - 0x110]
test edx, edx
jne 0x4015db
jmp 0x401572
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x14c]
push ecx
mov ecx, dword [ebp - 0x154]
call fcn.00401250
test eax, eax
jne 0x4015fd
jmp 0x401572
lea edx, [ebp - 0x14c]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x154]
mov dword [edx + ecx*4 + 0x414], eax
jmp 0x401572
mov eax, 1
mov ecx, dword [ebp - 0xc]
call fcn.00412020
mov esp, ebp
pop ebp
ret
Function at 0x401770
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x434084]
mov dword [ebp - 4], eax
mov dword [ebp - 0x40c], ecx
mov eax, dword [ebp - 0x40c]
movsx ecx, byte [eax + 0x20c]
test ecx, ecx
jne 0x40179f
xor eax, eax
jmp 0x4018b7
cmp dword [ebp + 0x10], 0
je 0x4017af
mov edx, dword [ebp + 0x10]
movsx eax, byte [edx]
test eax, eax
jne 0x4017b6
xor eax, eax
jmp 0x4018b7
cmp dword [ebp + 0xc], 0
jg 0x4017c3
xor eax, eax
jmp 0x4018b7
cmp dword [ebp + 0x14], 0
jne 0x4017d0
mov dword [ebp + 0x14], str.Global
mov ecx, dword [ebp - 0x40c]
add ecx, 0x20c
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x42b697
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x40185b
cmp dword [ebp + 0x18], 0
je 0x401834
cmp dword [ebp + 0x1c], 0
je 0x401834
push 1
mov edx, dword [ebp - 0x40c]
mov eax, dword [edx + 0x428]
push eax
push 0x30
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x40c]
add eax, 0x310
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x42b698
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x40c]
cmp dword [edx + 0x42c], 0
je 0x4018b4
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4018b4
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x40c]
add ecx, 0x20c
push ecx
push str.Text_string_is_not_exist._nprofile_:__s_nsection_:__s_nkey_:__s
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40
push str.Information
lea eax, [ebp - 0x408]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00412020
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4035d0
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push esi
push 0
push dword [ebp + 8]
mov esi, ecx
call fcn.00416b06
add esp, 8
cmp eax, 0xffffffff
jne 0x40360f
cmp dword [esi + 0x104], 0
jne 0x403606
push str.Source_folder_is_not_found
push 0
call fcn.0040d100
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0x438
mov ecx, 0x434b58
call fcn.004018d0
push eax
call fcn.00405910
add esp, 4
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x42a648
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.00415b9d
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call fcn.00405250
add esp, 0x14
test eax, eax
jne 0x40368b
cmp dword [esi + 0x104], eax
jne 0x40367d
push str.CompressFolder_error
push eax
call fcn.0040d100
add esp, 8
call fcn.00405a10
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.__xxxx.tmp
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.00415b9d
add esp, 0xc
lea eax, [ebp - 0x30c]
push 0x104
push eax
push dword [0x434b50]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x208]
mov ecx, esi
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004043f0
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x403705
push eax
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
push dword [ebp + 0xc]
call fcn.00403dc0
jmp 0x403721
mov esi, dword [ebp + 0xc]
push esi
call fcn.00405480
add esp, 4
lea eax, [ebp - 0x104]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x208]
push eax
call esi
call fcn.00405a10
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403750
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edi, 0x412
mov ecx, 0x43b
cmp ax, di
mov edx, 0x442
push 0
cmove edx, ecx
mov ecx, 0x434b58
push edx
call fcn.004018d0
push eax
call fcn.00405910
add esp, 4
mov dword [esi + 0x100], 1
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x208]
push 0x42a674
push eax
call fcn.00416aeb
push eax
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.00415b43
lea eax, [ebp - 0x208]
push eax
call fcn.004174b1
add esp, 0x18
lea eax, [ebp - 0x410]
push 0x104
push eax
push dword [0x434b50]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x30c]
push str.janus_inst.exe
push edi
push 0x42a688
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.00415b43
push 0x42a618
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.00415b9d
push 0x42a648
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.00415b9d
push str..cab
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.00415b9d
add esp, 0x40
lea eax, [ebp - 0x30c]
push eax
call fcn.00405480
add esp, 4
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.004040f0
test eax, eax
jne 0x4038c1
cmp dword [esi + 0x104], eax
jne 0x4038b2
push str.FileSplit_error
push 0
call fcn.0040d100
add esp, 8
call fcn.00405a10
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.00405720
add esp, 8
test eax, eax
jne 0x4038e4
cmp dword [esi + 0x104], eax
jne 0x4038b2
push str.DecompressFolder_error
jmp 0x4038a8
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x208]
mov ecx, esi
push eax
call fcn.00404570
mov dword [esi + 0x100], 0
call fcn.00405a10
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4