joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x47cfd4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x469b8a
cmp dword [0x47cfd0], 0
jne 0x469b8a
cmp dword [0x47d1fc], 0
je 0x469b44
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00469880
add esp, 8
mov ebx, eax
test eax, eax
jne 0x469b2a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00469880
add esp, 8
mov ebx, eax
test eax, eax
jne 0x469b2a
lea ebx, [ebp - 0x84]
jmp 0x469b2b
inc ebx
call fcn.00469a6c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x469bc5
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x47cfd8
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00460384
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x47cfdb
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x469bc5
cmp dword [0x47cfd0], 0
je 0x469ba4
cmp dword [0x47cfd0], 0xffffffff
je 0x469bc5
push esi
call dword [0x47cfd0]
pop ecx
mov eax, dword [0x47cfd4]
test eax, eax
je 0x469bc5
cmp dword [0x47cfd4], 0xffffffff
je 0x469bc5
cmp byte [eax], 0
je 0x469bc5
push esi
push eax
call fcn.004699d0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46b094
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jge 0x46b0ba
test esi, esi
je 0x46b0ba
call fcn.00469a38
mov dword [eax], 0x13
or eax, 0xffffffff
jmp 0x46b12c
call fcn.0046adac
mov ebx, eax
test eax, eax
jne 0x46b0d5
call fcn.00469a38
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x46b12c
mov edx, dword [ebp + 0x10]
mov dword [ebx + 4], edx
lea edx, [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], ecx
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x54], eax
push edx
mov ecx, dword [ebp + 0x18]
push ecx
push ebx
push 0x46aff0
push esi
mov eax, dword [ebp + 0x14]
push eax
call sub.KERNEL32.DLL_CreateThread
test eax, eax
jne 0x46b120
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x718
jne 0x46b119
push 0x59
call fcn.00462b88
pop ecx
jmp 0x46b12c
call fcn.00462bf4
jmp 0x46b12c
mov dword [ebx + 8], eax
test edi, edi
je 0x46b12c
mov edx, dword [ebp - 4]
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b637
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
and edi, eax
call fcn.0043b665
inc edi
add edi, 0x70a1ad1b
xor dword [esi], ecx
sub eax, eax
and eax, edi
inc esi
sub eax, 0x2d052de8
cmp esi, ebx
jne fcn.0043b637
or edi, eax
mov edi, 0x300c46c8
ret
Function at 0x403f60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x645848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
lea ecx, [esp + 4]
call fcn.00643d62
mov eax, dword [0x73aaac]
lea ecx, [esp + 4]
push eax
push 0x69a85c
push ecx
mov dword [esp + 0x1c], 0
call fcn.00643d50
mov edx, dword [esp + 0x10]
add esp, 0xc
mov esi, dword [fcn.0065e164]
push edx
push 0xff
push 0x6d4838
push 0x6c7010
push 0x69a854
push 0x69a850
call esi
mov eax, dword [esp + 4]
push eax
push 0xff
push 0x6d4938
push 0x6c7010
push 0x69a848
push 0x69a850
call esi
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x407790
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x104
mov ecx, 0x21f
xor eax, eax
push esi
mov esi, dword [esp + 0x10c]
push edi
mov edi, esi
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [0x73aaac]
lea ecx, [esp + 8]
push eax
push 0x69a9d4
push ecx
call dword [fcn.0065f1cc]
lea edx, [esp + 0x14]
push 0x69a9d0
push edx
call dword [fcn.0065f1b8]
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4077e3
pop edi
pop esi
add esp, 0x104
ret
push edi
push 0x87d
push 1
push esi
call dword [fcn.0065f1bc]
push edi
mov byte [esi + 0x7b], 0
mov byte [esi + 0x87b], 0
call dword [fcn.0065f1c0]
add esp, 0x14
mov eax, 1
pop edi
pop esi
add esp, 0x104
ret

Function at 0x407820
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x73aaac]
sub esp, 0x104
lea ecx, [esp]
push esi
push eax
push 0x69a9d4
push ecx
call dword [fcn.0065f1cc]
lea edx, [esp + 0x10]
push 0x69a9ec
push edx
call dword [fcn.0065f1b8]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x407876
mov eax, dword [esp + 0x10c]
push esi
push 0x87d
push 1
push eax
call dword [fcn.0065f1b4]
push esi
call dword [fcn.0065f1c0]
add esp, 0x14
pop esi
add esp, 0x104
ret
Function at 0x40d0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x646278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x38]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esi + 0x65d4], 0
call fcn.00482420
add esp, 8
push 0x69ac30
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call fcn.00643d2c
mov edi, eax
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push 0x69ac38
push eax
mov byte [esp + 0x44], 1
call fcn.0064409e
push edi
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x44], 2
call fcn.00644050
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 5
call fcn.00643d26
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 4
call fcn.00643d26
lea ecx, [esp + 0x40]
call fcn.00643d62
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 6
call fcn.00644056
lea edx, [esp + 8]
lea eax, [esp + 0x18]
push edx
push 0x73aaac
push eax
mov byte [esp + 0x44], 7
call fcn.00644050
mov eax, dword [eax]
push 0
push 0x40
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 8
call fcn.0064404a
lea ecx, [esp + 0x18]
mov edi, eax
mov byte [esp + 0x38], 7
call fcn.00643d26
test edi, edi
je 0x40d213
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
call fcn.006440a4
test eax, eax
je 0x40d20a
mov edi, 0x1770
cmp dword [esi + 0x65d4], edi
jge 0x40d20a
lea edx, [esp + 0x40]
push edx
call fcn.00471eb0
mov eax, dword [esp + 0x44]
add esp, 4
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40d1f8
mov ecx, dword [0x826818]
push eax
call fcn.00446b00
movsx eax, ax
cmp eax, 0xffffffff
je 0x40d1f8
mov ecx, dword [esi + 0x65d4]
mov dword [esi + ecx*4 + 0x814], eax
mov eax, dword [esi + 0x65d4]
inc eax
mov dword [esi + 0x65d4], eax
lea edx, [esp + 0x40]
lea ecx, [esp + 0x1c]
push edx
call fcn.006440a4
test eax, eax
jne 0x40d1aa
lea ecx, [esp + 0x1c]
call fcn.00644032
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 6
call fcn.0064402c
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 4
call fcn.00643d26
lea ecx, [esp + 8]
mov byte [esp + 0x38], 0
call fcn.00643d26
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x40f7f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x64677d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00407a60
xor edi, edi
mov dword [esi + 0x1c], 0x661a18
mov dword [esp + 0x28], edi
mov dword [esi + 0x20], edi
mov eax, dword [esp + 0x30]
push 0x40
mov byte [esp + 0x2c], 1
mov dword [esi], 0x661a10
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 1
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
call fcn.00643b70
mov ebp, eax
add esp, 4
mov dword [esp + 0x30], ebp
cmp ebp, edi
mov byte [esp + 0x28], 2
je 0x40f870
mov ecx, ebp
call fcn.00643cf0
mov dword [ebp], 0x661950
mov ecx, ebp
jmp 0x40f872
xor ecx, ecx
mov edx, dword [esi + 0x14]
push 0x70
lea eax, [esp + 0x14]
push edx
push eax
push 0x50000005
mov byte [esp + 0x38], 1
mov dword [esi + 0x24], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.006440ec
mov ecx, esi
call fcn.0040fdb0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x40f970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6467d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x661a2c
push 0x69af60
push 0
push 4
push 0
push 0
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x22
mov dword [esp + 0x5c], 0
call dword [fcn.0065e0c0]
push eax
lea ecx, [esp + 0x10]
call fcn.006440f8
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x30]
push 0x69af54
lea ecx, [esp + 0x30]
mov ebp, eax
call fcn.00643d2c
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [fcn.0065e0bc]
lea ecx, [esp + 0x2c]
call fcn.00643d26
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x14]
sub eax, edx
sub eax, ecx
mov ecx, esi
cdq
sub eax, edx
mov edx, dword [esi]
mov edi, eax
mov eax, dword [0x73a89c]
push eax
sar edi, 1
call dword [edx + 0x38]
push 0x69af54
lea ecx, [esp + 0x30]
call fcn.00643d2c
mov eax, dword [esp + 0x2c]
mov edx, dword [esi]
mov byte [esp + 0x24], 1
mov ecx, dword [eax - 8]
push ecx
push eax
push 0x12
push edi
mov ecx, esi
call dword [edx + 0x64]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.00643d26
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 0x30]
lea ecx, [esp + 0xc]
call fcn.0064406e
mov dword [esp + 0xc], 0x661578
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 2
call fcn.0064406e
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x410b70
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
mov eax, ecx
mov esi, 0x661a54
push edi
mov edx, eax
sub esi, eax
mov edi, 0x12
mov ecx, dword [esi + edx]
mov dword [edx], ecx
add edx, 4
dec edi
jne 0x410b82
mov edx, 0x661a9c
lea esi, [eax + 0x48]
mov edi, 0x100
mov ecx, dword [edx]
add edx, 4
mov dword [esi], ecx
add esi, 4
dec edi
jne 0x410b9a
cmp edx, 0x662a9c
jl 0x410b95
pop edi
pop esi
ret

Function at 0x410bc0
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x661a54
push edi
mov eax, esi
sub ecx, esi
mov edx, 0x12
mov edi, dword [ecx + eax]
mov dword [eax], edi
add eax, 4
dec edx
jne 0x410bd2
mov eax, 0x661a9c
lea ecx, [esi + 0x48]
mov edx, 0x100
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x410bea
cmp eax, 0x662a9c
jl 0x410be5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00410c20
mov eax, esi
pop edi
pop esi
ret 8

Function at 0x410c20
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov dword [esp + 0x10], ecx
movsx edi, word [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x1c], 0x12
movsx esi, dx
xor ebx, ebx
add ecx, 4
lea eax, [esi + 1]
cdq
idiv edi
lea eax, [esi + 2]
mov bl, byte [edx + ebp]
cdq
idiv edi
mov bh, byte [esi + ebp]
xor eax, eax
shl ebx, 8
mov al, byte [edx + ebp]
or ebx, eax
lea eax, [esi + 3]
cdq
idiv edi
xor eax, eax
shl ebx, 8
mov al, byte [edx + ebp]
or ebx, eax
mov eax, dword [ecx - 4]
xor eax, ebx
mov dword [ecx - 4], eax
lea eax, [esi + 4]
cdq
idiv edi
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x410c3c
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov esi, edi
mov ebx, 9
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.00410da0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], ecx
add esi, 8
dec ebx
jne 0x410c9e
lea esi, [edi + 0x4c]
mov ebp, 4
mov ebx, 0x80
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, edi
call fcn.00410da0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esi - 4], ecx
mov dword [esi], edx
add esi, 8
dec ebx
jne 0x410ccf
dec ebp
jne 0x410cca
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4123e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x646988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [fcn.0065f4e4]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call fcn.00643dc2
push eax
lea ecx, [esp + 0x30]
call fcn.00644170
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [fcn.0065f4d0]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [fcn.0065f4c8]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call fcn.00643dc2
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00643e28
mov eax, dword [esi + 0xf1]
mov ebx, dword [fcn.0065e0cc]
test eax, eax
jne 0x412516
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [fcn.0065e0d0]
push eax
lea ecx, [esi + 0xed]
call fcn.00644146
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0xfd]
call dword [fcn.0065e0c8]
push eax
mov ecx, edi
call fcn.006440f8
test edi, edi
je 0x4124c2
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xf1]
push edi
push eax
call fcn.00644140
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x105], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xf1]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xed]
sub ecx, edi
test edx, edx
je 0x412537
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0064416a
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4

Function at 0x4130f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6469cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x28]
call fcn.00643cea
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.00643d62
push edi
push edi
push edi
lea eax, [esi + 8]
push edi
push eax
mov dword [esi], 0x662d18
mov dword [esi + 0x24], edi
mov dword [esi + 4], edi
call dword [fcn.0065f4dc]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x1c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x413320
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x646a30
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x20]
push eax
call dword [0x65f62c]
push eax
call fcn.00644092
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x18]
mov esi, eax
mov eax, dword [edi + 8]
xor ebp, ebp
cmp esi, ebp
jne 0x413366
xor ebx, ebx
jmp 0x413369
mov ebx, dword [esi + 4]
push 1
push ecx
mov ecx, dword [edi + 0x2c]
push eax
push ebx
push edx
push ecx
call dword [fcn.0065e034]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
push 2
mov dword [esp + 0x20], edx
mov edx, dword [edi + 0x14]
push ebp
mov dword [esp + 0x2c], ecx
push 2
push 0x12
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
call fcn.00644080
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], 0x661a2c
push 0x69af88
push 0x32
push ebp
push 2
push 3
push 0x86
push ebp
push ebp
push ebp
push 0x190
push ebp
push ebp
push ebp
push 0xc
mov dword [esp + 0x6c], ebp
call dword [fcn.0065e0c0]
push eax
lea ecx, [esp + 0x18]
call fcn.006440f8
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x30]
push 1
mov ecx, esi
mov ebx, eax
call fcn.0064412e
mov ecx, 0x898828
mov ebp, eax
call fcn.00512d10
sub eax, 7
mov edx, dword [esi]
neg eax
sbb eax, eax
mov ecx, esi
and eax, 0xffd22c1b
add eax, 0xffffff
push eax
call dword [edx + 0x38]
mov edx, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x34]
lea ecx, [esp + 0x1c]
push 0x24
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
push ebp
mov ecx, esi
call fcn.0064412e
mov edx, dword [esi]
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call dword [edx + 0x38]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 0x14]
call fcn.0064406e
mov edi, dword [edi + 4]
mov eax, dword [esi + 4]
push eax
mov ecx, dword [edi + 0x20]
push ecx
call dword [fcn.0065f4e8]
mov dword [esp + 0x14], 0x661578
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 1
call fcn.0064406e
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4145a0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x646ab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov dword [esp + 0x14], ecx
push edi
mov ecx, 0x92e
xor eax, eax
mov edi, 0x732e88
xor ebx, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [0x826890], ebx
call fcn.00643d62
push 0x69afac
lea eax, [esp + 0x20]
push 0x73aaac
push eax
mov dword [esp + 0x34], ebx
call fcn.00643ea6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00644098
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call fcn.00643d26
mov ecx, dword [esp + 0x10]
push 0x69a9d0
push ecx
call dword [fcn.0065f1b8]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4147bd
push esi
call fcn.00476080
mov ecx, eax
add esp, 4
cmp ecx, ebx
jle 0x4147b3
xor edx, edx
mov edi, 0x2f
div edi
test edx, edx
jne 0x4147b3
mov eax, 0xae4c415d
mul ecx
mov edi, edx
shr edi, 5
cmp edi, 0xc8
mov dword [esp + 0xc], edi
jle 0x414677
mov dword [esp + 0xc], 0xc8
mov edi, dword [esp + 0xc]
push ebx
push ebx
push esi
call dword [fcn.0065f1d4]
lea edx, [edi + edi*2]
push esi
shl edx, 4
sub edx, edi
push 1
push edx
push 0x732e88
call dword [fcn.0065f1bc]
push esi
call dword [fcn.0065f1c0]
add esp, 0x20
cmp edi, ebx
mov dword [esp + 0x14], ebx
jle 0x41476c
push ebp
mov ebp, 0x732e8a
mov ecx, dword [esp + 0x1c]
push ebp
mov byte [ebp + 0xc], 0
call fcn.00414220
test eax, eax
je 0x41474f
mov ecx, dword [esp + 0x1c]
lea ebx, [ebp + 0xd]
push ebx
mov byte [ebp + 0x2c], 0
call fcn.00414220
test eax, eax
je 0x41474f
mov eax, dword [0x82688c]
xor esi, esi
test eax, eax
jle 0x414711
mov edi, 0x735340
push edi
push ebx
call dword [fcn.0065f1a4]
add esp, 8
test eax, eax
je 0x41470d
mov eax, dword [0x82688c]
inc esi
add edi, 0x164
cmp esi, eax
jl 0x4146ee
mov edi, dword [esp + 0x10]
cmp esi, dword [0x82688c]
je 0x41474f
mov edx, dword [0x826890]
mov eax, dword [esp + 0x18]
cmp edx, eax
jge 0x414746
lea edi, [edx + edx*2]
lea esi, [ebp - 2]
shl edi, 4
sub edi, edx
mov ecx, 0xb
add edi, 0x732e88
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
inc edx
mov dword [0x826890], edx
jmp 0x414755
mov edx, dword [0x826890]
mov eax, dword [esp + 0x18]
add ebp, 0x2f
inc eax
cmp eax, edi
mov dword [esp + 0x18], eax
jl 0x4146b3
pop ebp
jmp 0x414772
mov edx, dword [0x826890]
cmp edx, 0xc8
jge 0x4147a7
mov eax, 0xc8
lea edi, [edx + edx*2]
sub eax, edx
shl edi, 4
lea ecx, [eax + eax*2]
sub edi, edx
shl ecx, 4
sub ecx, eax
xor eax, eax
mov edx, ecx
add edi, 0x732e88
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, 0x7398c8
call fcn.004148e0
jmp 0x4147bd
push esi
call dword [fcn.0065f1c0]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4147e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x646ad0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 4]
call fcn.00643d62
push 0x69afa0
lea eax, [esp + 0xc]
push 0x73aaac
push eax
mov dword [esp + 0x20], 0
call fcn.00643ea6
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.00644098
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call fcn.00643d26
mov ecx, dword [esp + 4]
push 0x69a9ec
push ecx
call dword [fcn.0065f1b8]
mov esi, eax
add esp, 8
test esi, esi
je 0x4148b3
mov eax, dword [0x82688c]
test eax, eax
jle 0x4148a9
mov ecx, 0x735362
mov edx, eax
inc word [ecx]
add ecx, 0x164
dec edx
jne 0x414864
lea ecx, [eax + eax*4]
push esi
push 1
lea edx, [ecx + ecx*8]
shl edx, 1
sub edx, eax
shl edx, 2
push edx
push 0x735340
call dword [fcn.0065f1b4]
mov ecx, dword [0x82688c]
add esp, 0x10
test ecx, ecx
jle 0x4148a9
mov eax, 0x735362
dec word [eax]
add eax, 0x164
dec ecx
jne 0x41489e
push esi
call dword [fcn.0065f1c0]
add esp, 4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4148e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x646af0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 4]
call fcn.00643d62
push 0x69afac
lea eax, [esp + 0xc]
push 0x73aaac
push eax
mov dword [esp + 0x20], 0
call fcn.00643ea6
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.00644098
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call fcn.00643d26
mov ecx, dword [esp + 4]
push 0x69a9ec
push ecx
call dword [fcn.0065f1b8]
mov esi, eax
add esp, 8
test esi, esi
je 0x414981
mov eax, dword [0x826890]
test eax, eax
jle 0x414977
lea edx, [eax + eax*2]
push esi
shl edx, 4
sub edx, eax
push 1
push edx
push 0x732e88
call dword [fcn.0065f1b4]
add esp, 0x10
push esi
call dword [fcn.0065f1c0]
add esp, 4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4297d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x6478d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov ebp, dword [fcn.0065f1cc]
xor esi, esi
mov dword [esp + 0x188], esi
lea ebx, [edi + 0x81bc]
mov eax, dword [edi + 0x82bb]
test eax, eax
jl 0x42982d
mov eax, dword [edi + 0x82bf]
test eax, eax
je 0x42982d
mov ax, word [edi + 0x82bb]
mov word [ebx], ax
jmp 0x4298e3
lea ecx, [esi + 1]
lea edx, [esp + 0xb8]
push ecx
push 0x69c068
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x54]
push esi
push 0x69c05c
push eax
call ebp
mov ecx, dword [esp + 0x19c]
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x54]
push ecx
push 0x40
push edx
lea ecx, [esp + 0xc4]
push eax
push ecx
push 0x69c050
call dword [fcn.0065e164]
test eax, eax
jle 0x4298e3
push 1
lea edx, [esp + 0x58]
push 0x69c04c
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.004720b0
lea ecx, [esp + 0x64]
push ecx
call dword [fcn.0065f1d8]
mov edi, eax
push 2
lea edx, [esp + 0x134]
push 0x69c04c
lea eax, [esp + 0x30]
push edx
push eax
call fcn.004720b0
add esp, 0x24
lea ecx, [esp + 0x11c]
push edi
push ecx
mov ecx, dword [0x826818]
call fcn.00446d60
test ax, ax
mov word [ebx], ax
jge 0x4298df
lea edx, [esi + 0x64]
mov word [ebx], dx
mov edi, dword [esp + 0x10]
inc esi
add ebx, 2
cmp esi, 0x14
jl 0x42980a
lea ecx, [esp + 0x190]
mov dword [esp + 0x188], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x17c
ret 4