joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3324
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x4b34dd
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x4b3456
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x4b3456
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x4b343d
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x4b343d
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.004b4590
mov ebp, eax
test ebp, ebp
je 0x4b3435
push ebp
mov ecx, esi
call fcn.004b59e0
test eax, eax
je 0x4b3435
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x4b3435
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4b33f6
xor eax, eax
jmp 0x4b33fe
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.004b6380
inc ebx
xor ebp, ebp
jmp 0x4b3387
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x4b3360
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.004b48a0
test eax, eax
pop ebx
je 0x4b34dd
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.004b4590
mov edi, eax
cmp edi, ebp
je 0x4b34dd
push edi
mov ecx, esi
call fcn.004b59e0
test eax, eax
je 0x4b34dd
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.004b4ae0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.004b4b50
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.004b6380
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x4bd3a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x528d17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x634e2c
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.0051045f
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.0051045f
mov edi, dword [0x52d788]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], 0x634e18
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [0x52d678]
lea ecx, [esp + 0xb0]
push ecx
call dword [0x52d154]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004bdec0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret

Function at 0x4d0490
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x529c28
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.0051948f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.004d03d0
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.005193bd
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x52d7d8]
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 0x4d0557
cmp dword [esp + 0x40], 1
jne 0x4d0555
cmp ecx, eax
jge 0x4d0557
mov eax, ecx
cmp eax, 0x12c
jge 0x4d0563
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.004d05b0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x52d7d4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00519501
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4db160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52a890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004dad10
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004dad90
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004dad90
lea ecx, [esi + 0xc]
call fcn.005125c8
lea ecx, [esi + 0x10]
call fcn.005125c8
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004dc320
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004dc320
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004dc320
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0051263d
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0051263d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x4eb689
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x4eb689
lcall 0x5de5, 0x8b10c483
jmp loc.01631e3c

Function at 0x1631f17
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
shr ecx, 2
xor dword [edx], eax
add edx, 4
dec ecx
jne 0x1631f2f
pop ebp
ret 0xc

Function at 0x1631fd2
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebp
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x1632003
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1631fe1
add dl, dl
jne 0x1632016
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1632086
xor eax, eax
add dl, dl
jne 0x163202b
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x163215b
add dl, dl
jne 0x163203e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x163204d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x163205c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x163206b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1632079
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1631ff6
mov eax, 1
add dl, dl
jne 0x1632098
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16320a7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x163208b
sub eax, ebx
mov ebx, 1
jne 0x16320ee
mov ecx, 1
add dl, dl
jne 0x16320cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16320db
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16320bf
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1631ff6
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1632109
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1632118
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16320fc
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1631ff6
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1632183
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1631ff6
pop ebp
sub edi, dword [ebp + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x401b50
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42b4ed
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x437164]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437164]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
call fcn.004083a0
lea ecx, [esp + 0x20]
mov dword [esp + 0xb8], 1
call fcn.00408410
push ebx
push 0x80
push 4
push ebx
xor eax, eax
push 1
push 0x80000000
push esi
mov byte [esp + 0xb4], bl
mov dword [esp + 0xb5], eax
mov dword [esp + 0xb9], eax
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], eax
mov word [esp + 0xc5], ax
mov byte [esp + 0xc7], al
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401c1c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edi, [ebx + 1]
push edi
call fcn.00408518
push edi
mov ebp, eax
push 0
push ebp
call fcn.00408700
add esp, 0x10
push 0
lea ecx, [esp + 0x1c]
push ecx
push edi
push ebp
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebp
lea ecx, [esp + 0x28]
call fcn.00408420
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x24]
call fcn.00408440
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x98]
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00408470
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 1
mov byte [esp + 0xb8], 0
call fcn.00408400
mov eax, esi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004086c2
add esp, 0xa8
ret 8
Function at 0x402980
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42b6a3
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x437164]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437164]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc8]
mov esi, dword [esp + 0xcc]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00401b50
mov ecx, dword [esp + 0x90]
push 0
push 0x42d3b8
push ecx
push 0
lea ecx, [esp + 0x8c]
mov dword [esp + 0xd0], 0
call fcn.00401410
test eax, eax
jne 0x402a24
cmp dword [esp + 0x94], 8
jb 0x402a1d
mov edx, dword [esp + 0x80]
push edx
call fcn.0040877f
add esp, 4
xor eax, eax
jmp 0x402bf1
push 0
push 0x80
push 4
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x402a68
cmp dword [esp + 0x94], 8
jb 0x402a5e
mov eax, dword [esp + 0x80]
push eax
call fcn.0040877f
add esp, 4
mov eax, 3
jmp 0x402bf1
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
lea ebx, [ebp + 1]
push ebx
call fcn.00408518
mov esi, eax
add esp, 4
test esi, esi
jne 0x402aa6
cmp dword [esp + 0x94], 8
jb 0x402a1d
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0040877f
add esp, 4
xor eax, eax
jmp 0x402bf1
push ebx
push 0
push esi
call fcn.00408700
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push ebp
push esi
push edi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
call fcn.0041d470
push 0
push 0
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0xcc], 1
call fcn.0041f4c0
push str.TheCellDict
lea ecx, [esp + 0x1c]
call fcn.0041ca70
test eax, eax
jne 0x402b2c
push esi
call fcn.0040877a
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 0
call fcn.004014a0
lea ecx, [esp + 0x7c]
call fcn.00401a10
xor eax, eax
jmp 0x402bf1
push str.CellDictInfo
mov ecx, eax
call fcn.0041ca70
test eax, eax
je 0x402b02
push str.SignCode
mov ecx, eax
call fcn.0041cb10
test eax, eax
je 0x402b02
mov ecx, eax
call fcn.0041cb80
push eax
lea ecx, [esp + 0x64]
call fcn.00402130
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov byte [esp + 0xc8], 2
call fcn.00408290
lea ecx, [esp + 0x60]
mov byte [esp + 0xc0], 4
call fcn.004019e0
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.004019b0
add esp, 8
test al, al
push esi
je 0x402bbe
call fcn.0040877a
add esp, 4
lea ecx, [esp + 0x98]
call fcn.00401a10
jmp 0x402b0b
call fcn.0040877a
add esp, 4
lea ecx, [esp + 0x98]
call fcn.00401a10
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 0
call fcn.004014a0
lea ecx, [esp + 0x7c]
call fcn.00401a10
mov eax, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004086c2
add esp, 0xb0
ret 8
Function at 0x403ba0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x42b826
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x437164]
xor eax, esp
mov dword [esp + 0x47c], eax
push ebx
push esi
push edi
mov eax, dword [0x437164]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x4a4]
mov eax, dword [esp + 0x4a0]
push 1
mov esi, ecx
push ebx
mov dword [esi], eax
call fcn.004025a0
mov edi, eax
cmp edi, 2
jne 0x403c3c
lea ecx, [esp + 0x13]
call fcn.00401020
push 0
push ebx
lea ecx, [esp + 0x1b]
mov dword [esp + 0x4a0], 0
call fcn.00405120
mov ecx, esi
call fcn.00403560
lea ecx, [esp + 0x13]
mov dword [esp + 0x14], eax
mov dword [esp + 0x498], 0xffffffff
call fcn.00405110
jmp 0x403c47
xor ecx, ecx
test edi, edi
sete cl
mov dword [esp + 0x14], ecx
cmp dword [esi + 8], 0
je 0x403c57
mov eax, 1
jmp 0x403df5
push 0x206
lea edx, [esp + 0x82]
push 0
push edx
mov word [esp + 0x88], 0
call fcn.00408700
push 0x206
lea eax, [esp + 0x296]
push 0
push eax
mov word [esp + 0x29c], 0
call fcn.00408700
mov ecx, dword [0x438ad0]
add esp, 0x18
call fcn.004011f0
mov ecx, eax
call fcn.00405c10
push eax
lea ecx, [esp + 0x80]
push str._sDictTemp_
push ecx
call fcn.00408610
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x294]
push str._sTemp_
push eax
call fcn.00408610
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 0x18
lea ecx, [esp + 0x284]
push ecx
call ebx
lea edx, [esp + 0x7c]
push edx
call ebx
cmp edi, 5
jne 0x403d0e
cmp dword [esi], 0
je 0x403df1
push 0
push 0x42d430
push 0x42d414
jmp 0x403de9
test edi, edi
jne 0x403dd8
cmp dword [esi], edi
je 0x403df1
cmp dword [esi + 0x10], edi
je 0x403d33
push edi
push 0x42d430
push 0x42d404
jmp 0x403de9
lea ecx, [esp + 0x18]
call fcn.00404110
mov edi, 8
cmp dword [esi + 0x2c], edi
mov dword [esp + 0x498], 1
jb 0x403d56
mov eax, dword [esi + 0x18]
jmp 0x403d59
lea eax, [esi + 0x18]
push eax
lea ecx, [esp + 0x1c]
call fcn.004041c0
cmp dword [esi + 0x48], edi
jb 0x403d6d
mov eax, dword [esi + 0x34]
jmp 0x403d70
lea eax, [esi + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.004041f0
cmp dword [esi + 0x64], edi
jb 0x403d84
mov eax, dword [esi + 0x50]
jmp 0x403d87
lea eax, [esi + 0x50]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404220
mov eax, dword [esi + 0x68]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403e20
mov ecx, dword [esi + 0x6c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403e30
mov ecx, dword [0x438ad0]
push 0
call fcn.004011e0
push eax
lea ecx, [esp + 0x20]
call fcn.00404d10
lea ecx, [esp + 0x18]
mov dword [esp + 0x498], 0xffffffff
call fcn.00403e40
jmp 0x403df1
cmp dword [esi], 0
je 0x403df1
push 0
push 0x42d430
push 0x42d3f4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.004086c2
add esp, 0x48c
ret 8
Function at 0x404d50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x62c
mov eax, dword [0x437164]
xor eax, esp
mov dword [esp + 0x628], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x63c]
mov dword [ecx + 4], esi
call fcn.00407fc0
mov ebx, eax
call fcn.00408010
push 0x206
mov ebp, eax
lea eax, [esp + 0x22]
push 0
push eax
mov word [esp + 0x28], 0
call fcn.00408700
push 0x206
lea ecx, [esp + 0x43e]
push 0
push ecx
mov word [esp + 0x444], 0
call fcn.00408700
push 0x206
lea edx, [esp + 0x242]
push 0
push edx
mov word [esp + 0x248], 0
call fcn.00408700
mov ecx, dword [0x438ad0]
add esp, 0x24
call fcn.004011f0
mov ecx, eax
call fcn.00405bf0
lea edx, [esp + 0x1c]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x404df0
lea eax, [esp + 0x1c]
add eax, 0xfffffffe
jmp 0x404e10
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x404e10
mov ecx, dword [str.SoftApp.ini]
mov edx, dword [0x42d4d4]
mov dword [eax], ecx
mov ecx, dword [0x42d4d8]
mov dword [eax + 4], edx
mov edx, dword [0x42d4dc]
mov dword [eax + 8], ecx
mov ecx, dword [0x42d4e0]
mov dword [eax + 0xc], edx
mov edx, dword [0x42d4e4]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea eax, [esp + 0x1c]
push eax
push 0x104
lea ecx, [esp + 0x22c]
push ecx
push 0x42d3b8
push str.SoftName
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x224]
push edx
lea eax, [esp + 0x430]
push 0x42d498
push eax
call fcn.00408610
add esp, 0xc
lea ecx, [esp + 0x42c]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
push 1
add eax, ebp
cdq
sub eax, edx
push 0
sar eax, 1
push 0
push eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x24]
add eax, ebx
cdq
sub eax, edx
sar eax, 1
push eax
push 1
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x634]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004086c2
add esp, 0x62c
ret 4
Function at 0x405120
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x42b926
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x437164]
xor eax, esp
mov dword [esp + 0x44c], eax
push esi
push edi
mov eax, dword [0x437164]
xor eax, esp
push eax
lea eax, [esp + 0x45c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x46c]
xor esi, esi
push 0x206
lea eax, [esp + 0x4e]
push esi
push eax
mov word [esp + 0x54], si
call fcn.00408700
push 0x206
lea ecx, [esp + 0x262]
push esi
push ecx
mov word [esp + 0x268], si
call fcn.00408700
mov ecx, dword [0x438ad0]
add esp, 0x18
call fcn.004011f0
mov ecx, eax
call fcn.00405c10
push eax
lea edx, [esp + 0x4c]
push str._sDictTemp_
push edx
call fcn.00408610
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x260]
push str._sTemp_
push ecx
call fcn.00408610
add esp, 0x18
lea edx, [esp + 0x250]
push edx
call fcn.00408060
mov eax, edi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], esi
mov word [esp + 0x30], si
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4051f4
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x34]
call fcn.00401f70
lea eax, [esp + 0x48]
mov dword [esp + 0x464], esi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x405230
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
call fcn.00401f70
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x17]
mov byte [esp + 0x46c], 1
call fcn.00420d40
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x405281
mov eax, dword [esp + 0x14]
push eax
call fcn.0040877f
add esp, 4
cmp dword [esp + 0x44], esi
jb 0x405294
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0040877f
add esp, 4
mov ecx, dword [esp + 0x45c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.004086c2
add esp, 0x45c
ret 8
Function at 0x405980
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x30
push ebx
push esi
push edi
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x30
mov esi, ecx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0xc]
push ecx
push eax
call ebx
lea edx, [esp + 0x2c]
push edx
push edi
call ebx
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
sub edx, eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x20]
sub eax, ecx
pop edi
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x405a00
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x437164]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x11c
lea eax, [esp + 4]
push 0
push eax
call fcn.00408700
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
jne 0x405a72
mov eax, dword [esp + 8]
test eax, eax
je 0x405a4e
cmp eax, 1
jne 0x405a72
cmp byte [esp + 0x11a], 1
jne 0x405a72
mov eax, 1
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004086c2
add esp, 0x120
ret
mov ecx, dword [esp + 0x11c]
xor ecx, esp
xor eax, eax
call fcn.004086c2
add esp, 0x120
ret

Function at 0x405a90
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x437164]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push 0x206
lea eax, [esp + 0xa]
push 0
push eax
mov esi, ecx
mov word [esp + 0x10], 0
call fcn.00408700
add esp, 0xc
cmp dword [esi + 0x50], 8
jb 0x405acd
mov esi, dword [esi + 0x3c]
jmp 0x405ad0
add esi, 0x3c
push str.AllSkin
push esi
lea ecx, [esp + 0xc]
push 0x42d594
push ecx
call fcn.00408610
add esp, 0x10
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop esi
jne 0x405b01
lea eax, [esp]
push eax
call fcn.00408060
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004086c2
add esp, 0x20c
ret