joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db3d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58a708
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6b3854]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x6b3854]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.004222f0
mov eax, dword [esp + 0x40]
sub eax, 0
mov dword [esp + 0x38], 0
mov edi, 0xede234
je 0x4db433
dec eax
je 0x4db42e
dec eax
jne 0x4db433
mov edi, 0xf83232
jmp 0x4db433
mov edi, 0x4dc025
push 0
lea eax, [esp + 0x10]
push eax
push 0x3f
mov ecx, 0x6c36d8
call fcn.00426e50
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x154]
push 0xffffff
push 0
call fcn.00426090
mov eax, dword [esi + 0x154]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x54], 0xdc
mov ecx, dword [esi + 0x154]
push edx
call fcn.00425530
lea ecx, [esp + 0xc]
mov dword [esi + 0x150], 1
mov dword [esp + 0x38], 0xffffffff
call fcn.00422300
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0056ca39
add esp, 0x30
ret 8
mov ecx, dword [ecx + 0x1fc]
test ecx, ecx
je 0x4dba0f
jmp 0x4db3d0
ret 8

Function at 0x4dba00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58a708
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6b3854]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x6b3854]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.004222f0
mov eax, dword [esp + 0x40]
sub eax, 0
mov dword [esp + 0x38], 0
mov edi, 0xede234
je 0x4db433
dec eax
je 0x4db42e
dec eax
jne 0x4db433
mov edi, 0xf83232
jmp 0x4db433
mov edi, 0x4dc025
push 0
lea eax, [esp + 0x10]
push eax
push 0x3f
mov ecx, 0x6c36d8
call fcn.00426e50
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x154]
push 0xffffff
push 0
call fcn.00426090
mov eax, dword [esi + 0x154]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x54], 0xdc
mov ecx, dword [esi + 0x154]
push edx
call fcn.00425530
lea ecx, [esp + 0xc]
mov dword [esi + 0x150], 1
mov dword [esp + 0x38], 0xffffffff
call fcn.00422300
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0056ca39
add esp, 0x30
ret 8
mov ecx, dword [ecx + 0x1fc]
test ecx, ecx
je 0x4dba0f
jmp 0x4db3d0
ret 8
Function at 0x4dc330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x584693
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6b3854]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6b3854]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xbc]
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4dc390
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0041eae0
mov dword [esp + 0xac], ebx
cmp dword [esp + 0x3c], ebx
jbe 0x4dc52e
mov ebp, dword [esp + 0xb8]
xor esi, esi
cmp esi, dword [esp + 0x3c]
jae 0x4dc52e
push 1
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x20], 0x7c
call fcn.0041e050
mov esi, eax
cmp esi, ebx
jl 0x4dc52e
push 2
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x38]
call fcn.0041ebd0
push esi
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xb8], 1
call fcn.0041ebd0
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
mov byte [esp + 0xac], 2
jae 0x4dc42b
lea eax, [esp + 0x64]
push eax
call fcn.0056deea
mov edi, eax
add esp, 4
cmp edi, 0x37
ja 0x4dc4e1
lea ecx, [esp + 0x80]
call fcn.004222f0
fld1
mov eax, dword [esp + 0x58]
fst dword [esp + 0x20]
lea ecx, [ebp - 2]
fstp dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xb4]
lea ecx, [eax + edx*2 + 1]
mov dword [esp + 0x18], ecx
fstp dword [esp + 0x28]
fild dword [esp + 0x18]
mov byte [esp + 0xac], 3
test ecx, ecx
jns 0x4dc490
fadd dword [0x591970]
push ebx
fstp dword [esp + 0x28]
lea edx, [esp + 0x84]
push edx
add edi, 0x94
push edi
mov ecx, 0x6c36d8
call fcn.00426e50
fldz
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push eax
push ecx
fstp dword [esp]
push ebx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x94]
call fcn.00422330
lea ecx, [esp + 0x80]
mov byte [esp + 0xac], 2
call fcn.00422300
mov edi, 0x10
add esi, 2
cmp dword [esp + 0x5c], edi
jb 0x4dc4fc
mov edx, dword [esp + 0x48]
push edx
call fcn.0056d635
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0xac], bl
cmp dword [esp + 0x78], edi
jb 0x4dc526
mov eax, dword [esp + 0x64]
push eax
call fcn.0056d635
add esp, 4
cmp esi, ebx
jge 0x4dc3be
cmp dword [esp + 0x40], 0x10
jb 0x4dc542
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0056d635
add esp, 4
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0056ca39
add esp, 0x9c
ret 0xc
Function at 0x4df010
Capabilities:
Get number of processors

Disassembly:
mov ecx, dword [ecx + 0x228]
jmp 0x45d510
push 0xffffffffffffffff
push 0x58722b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6b3854]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x45d6ca
cmp dword [ebx + 0x40], 0
lea ecx, [ebp + 0x2e4]
jne 0x45d644
call fcn.0056b010
mov dword [esp + 0x30], eax
test eax, eax
je 0x45d595
jmp 0x45d570
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x2e4]
call fcn.0056b070
mov esi, dword [eax]
test esi, esi
je 0x45d595
mov eax, dword [ebx + 0x3c]
cmp dword [esi + 8], eax
je 0x45d5a2
cmp dword [esp + 0x30], 0
jne 0x45d570
push ebx
mov ecx, ebp
call fcn.0045c2b0
jmp 0x45d6c3
lea ecx, [esi + 0x10]
call fcn.0056b010
mov dword [esp + 0x18], eax
test eax, eax
je 0x45d5d2
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x10]
call fcn.0056b070
mov eax, dword [eax]
cmp dword [eax + 0x40], 0
je 0x45d6ca
cmp dword [esp + 0x18], 0
jne 0x45d5b2
mov ebp, 1
push ebx
lea ecx, [esi + 0x10]
mov dword [esi], ebp
call fcn.0056aa30
add dword [esi + 4], ebp
push 0x48
call fcn.0056dadb
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 0
test eax, eax
je 0x45d608
mov ecx, eax
call fcn.004e1100
jmp 0x45d60a
xor eax, eax
mov edx, dword [ebx + 0x3c]
mov ecx, edx
imul ecx, ecx, 0x64
add ecx, 0x63
mov dword [eax + 0x44], ecx
push eax
lea ecx, [esi + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], 0x63
call fcn.0056aac0
mov eax, dword [esp + 0x14]
add dword [esi + 4], ebp
add dword [eax + 0x2e0], ebp
mov ebp, eax
jmp 0x45d6c3
call fcn.0056b010
mov dword [esp + 0x1c], eax
test eax, eax
je 0x45d6bb
lea edx, [esp + 0x1c]
push edx
lea ecx, [ebp + 0x2e4]
call fcn.0056b070
mov esi, dword [eax]
test esi, esi
je 0x45d6bb
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x3c]
je 0x45d678
cmp dword [esp + 0x1c], 0
jne 0x45d651
jmp 0x45d6bb
lea ecx, [esi + 0x10]
call fcn.0056b040
mov ebp, eax
test ebp, ebp
je 0x45d6b7
lea ecx, [esi + 0x10]
call fcn.0056afc0
mov eax, dword [eax]
cmp dword [eax + 0x40], 0x63
push ebx
lea ecx, [esi + 0x10]
jne 0x45d6a9
push ebp
call fcn.0056ac90
inc dword [esi + 4]
mov ebp, dword [esp + 0x14]
jmp 0x45d6c3
call fcn.0056aac0
inc dword [esi + 4]
mov ebp, dword [esp + 0x14]
jmp 0x45d6c3
mov ebp, dword [esp + 0x14]
push ebx
mov ecx, ebp
call fcn.0045c3b0
mov ecx, ebp
call fcn.0045d0b0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov ecx, dword [0x6b64fc]
jmp 0x45be20
Function at 0x4e1810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58a5b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6b3854]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
push ecx
push edi
push edx
mov ecx, esi
call fcn.004e1740
mov ecx, dword [esi + 0xc]
lea ebx, [esi + 0x14]
lea eax, [esi + 0x10]
mov dword [esp + 0x1c], 0
mov dword [esi], vtable.CQuestLimitKind_Level.0
mov dword [ebx], 0
mov dword [eax], 0
test ecx, ecx
jne 0x4e188f
push edi
push eax
call fcn.004e0630
push edi
push ebx
call fcn.004e0630
add esp, 0x10
jmp 0x4e18ac
cmp ecx, 1
jne 0x4e1898
push edi
push ebx
jmp 0x4e18a4
cmp ecx, 4
je 0x4e187c
cmp ecx, 5
jne 0x4e18ac
push edi
push eax
call fcn.004e0630
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x58a708
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6b3854]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x6b3854]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
movzx edi, word [esp + 0x40]
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.004222f0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], 0
cmp eax, 3
ja case.default.0x4e2e91
jmp dword [eax*4 + 0x4e2f7c]
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, 0x6c4d50
call fcn.0049ccd0
jmp case.default.0x4e2e91
push 0
lea edx, [esp + 0x10]
push edx
push 0x59
jmp 0x4e2ecd
push 0
lea eax, [esp + 0x10]
push eax
push 0x58
jmp 0x4e2ecd
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x5b
mov ecx, 0x6c36d8
call fcn.00426e50
mov esi, dword [esi + 0x234]
movzx edx, word [esi + 0x226]
movzx eax, word [esi + 0x224]
imul edx, eax
cmp edi, edx
jl 0x4e2f03
push 0
push 0x31
push 0x5966c0
call fcn.0051eca0
add esp, 0xc
mov ecx, dword [esi + 0x220]
mov ecx, dword [ecx + edi*8]
mov edx, dword [esp + 0x10]
lea eax, [ecx + 0x194]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x1c], edx
mov dword [ecx + 0x1b4], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.00422300
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0056ca39
add esp, 0x30
ret 0xc
Function at 0x4e4400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x584693
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6b3854]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6b3854]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xbc]
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4e4460
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0041eae0
mov dword [esp + 0xac], ebx
cmp dword [esp + 0x3c], ebx
jbe 0x4e4606
mov ebp, dword [esp + 0xb8]
xor esi, esi
cmp esi, dword [esp + 0x3c]
jae 0x4e4606
push 1
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x20], 0x7c
call fcn.0041e050
mov esi, eax
cmp esi, ebx
jl 0x4e4606
push 2
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x38]
call fcn.0041ebd0
push esi
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xb8], 1
call fcn.0041ebd0
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
mov byte [esp + 0xac], 2
jae 0x4e44fb
lea eax, [esp + 0x64]
push eax
call fcn.0056deea
mov edi, eax
add esp, 4
cmp edi, 0x37
ja 0x4e45b9
lea ecx, [esp + 0x80]
call fcn.004222f0
fld dword [0x59e040]
mov eax, dword [esp + 0x58]
fst dword [esp + 0x20]
lea ecx, [ebp - 2]
fstp dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
lea edx, [eax + eax*2]
add edx, edx
mov dword [esp + 0x18], edx
fstp dword [esp + 0x28]
mov byte [esp + 0xac], 3
fild dword [esp + 0x18]
jns 0x4e4559
fadd dword [0x591970]
fild dword [esp + 0xb4]
push ebx
lea eax, [esp + 0x84]
push eax
fadd qword [0x59e038]
add edi, 0x94
push edi
mov ecx, 0x6c36d8
faddp st(1)
fstp dword [esp + 0x30]
call fcn.00426e50
fldz
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push ecx
push ecx
fstp dword [esp]
push ebx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x94]
call fcn.00422330
lea ecx, [esp + 0x80]
mov byte [esp + 0xac], 2
call fcn.00422300
mov edi, 0x10
add esi, 2
cmp dword [esp + 0x5c], edi
jb 0x4e45d4
mov eax, dword [esp + 0x48]
push eax
call fcn.0056d635
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0xac], bl
cmp dword [esp + 0x78], edi
jb 0x4e45fe
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0056d635
add esp, 4
cmp esi, ebx
jge 0x4e448e
cmp dword [esp + 0x40], 0x10
jb 0x4e461a
mov edx, dword [esp + 0x2c]
push edx
call fcn.0056d635
add esp, 4
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0056ca39
add esp, 0x9c
ret 0xc
Function at 0x4e5b70
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
mov eax, dword [0x6b3854]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e5c48
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
call edi
test eax, eax
je 0x4e5bd0
cmp dword [esp + 0x10], 0x6060801
je 0x4e5beb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0056ca39
add esp, 0x18
ret 4
push 0
lea edx, [esp + 0x10]
push edx
push 0xc
lea eax, [esp + 0x20]
push eax
push esi
call edi
push esi
test eax, eax
je 0x4e5bd1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x4e5c47
mov ecx, dword [0x6c414c]
test ecx, ecx
je 0x4e5c47
mov edx, dword [esp + 0x18]
push edx
call fcn.0048a4c0
mov eax, dword [esp + 0x14]
mov ecx, dword [0x6c414c]
push eax
call fcn.00489970
fld dword [esp + 0x1c]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x6f24e0
call fcn.00545720
pop edi
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.0056ca39
add esp, 0x18
ret 4

Function at 0x4e5c60
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
mov eax, dword [0x6b3854]
xor eax, esp
mov dword [esp + 0x14], eax
mov ecx, dword [0x6c414c]
push esi
mov esi, dword [esp + 0x20]
test ecx, ecx
je 0x4e5cfa
call fcn.0048a4b0
fld dword [0x6f2520]
push 0
push 0x80
push 2
push 0
mov dword [esp + 0x20], eax
mov eax, dword [0x6c414c]
mov cx, word [eax + 0x688]
fstp dword [esp + 0x24]
push 0
push 0x40000000
push esi
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e5cfa
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], 0x6060801
call edi
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xc
lea edx, [esp + 0x1c]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [esp + 0x18]
pop esi
xor ecx, esp
call fcn.0056ca39
add esp, 0x18
ret 4
Function at 0x4e6c0c
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x6b3854]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
mov esi, ecx
test ebx, ebx
je 0x4e6cd9
push ebp
push edi
push 0
mov ecx, 0x6f2e08
call fcn.00552be0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0x14]
push str._sData
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
mov edx, dword [esi + 0x18]
push edx
push 0
mov ecx, 0x6f2e08
call fcn.00552be0
push eax
lea eax, [esp + 0x18]
push str._sData_d
push eax
call edi
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
test bl, 1
je 0x4e6ca5
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x6f2e08
call fcn.00552be0
push eax
lea edx, [esp + 0x1c]
push str._sData_d_d.UII
push edx
call edi
add esp, 0x14
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004e6540
test bl, 2
je 0x4e6cd7
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x6f2e08
call fcn.00552be0
push eax
lea ecx, [esp + 0x1c]
push str._sData_d_d.UIS
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004e5c60
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
call fcn.0056ca39
add esp, 0x108
ret 4
Function at 0x4fc150
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [0x6b3854]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3e8], ecx
push 0xff
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x108]
push ecx
call fcn.0056d4e0
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Cfg.ini
lea edx, [ebp - 0x108]
push edx
call fcn.0056eac0
add esp, 8
push 0xff
lea eax, [ebp - 0x308]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x308]
push ecx
call fcn.0056d4e0
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Config.ini
lea edx, [ebp - 0x308]
push edx
call fcn.0056eac0
add esp, 8
lea eax, [ebp - 0x308]
push eax
push str.admin
lea ecx, [ebp - 0x108]
push ecx
call fcn.004fc360
add esp, 0xc
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.0056d540
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea eax, [ebp - 0x3d0]
push eax
push str.Power
push str.AddPoint
call fcn.0050baa0
add esp, 0x10
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.0056deea
add esp, 4
mov edx, dword [ebp - 0x3e8]
mov dword [edx + 0x24c], eax
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.0056d540
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push 0x59eb18
push str.AddPoint
call fcn.0050baa0
add esp, 0x10
lea edx, [ebp - 0x3d0]
push edx
call fcn.0056deea
add esp, 4
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx + 0x250], eax
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.0056d540
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea eax, [ebp - 0x3d0]
push eax
push 0x59eb14
push str.AddPoint
call fcn.0050baa0
add esp, 0x10
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.0056deea
add esp, 4
mov edx, dword [ebp - 0x3e8]
mov dword [edx + 0x254], eax
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.0056d540
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push 0x59eb10
push str.AddPoint
call fcn.0050baa0
add esp, 0x10
lea edx, [ebp - 0x3d0]
push edx
call fcn.0056deea
add esp, 4
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx + 0x258], eax
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056ca39
mov esp, ebp
pop ebp
ret
Function at 0x4fc470
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [0x6b3854]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3e8], ecx
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.0056d540
add esp, 0xc
mov ecx, dword [ebp - 0x3e8]
mov edx, dword [ecx + 0x24c]
push edx
push 0x5939f8
lea eax, [ebp - 0x3d0]
push eax
call fcn.0056d39f
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push str.Power
push str.AddPoint
call fcn.0050ba20
add esp, 0x10
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.0056d540
add esp, 0xc
mov eax, dword [ebp - 0x3e8]
mov ecx, dword [eax + 0x250]
push ecx
push 0x5939f8
lea edx, [ebp - 0x3d0]
push edx
call fcn.0056d39f
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea eax, [ebp - 0x3d0]
push eax
push 0x59eb18
push str.AddPoint
call fcn.0050ba20
add esp, 0x10
push 0xc8
push 0
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.0056d540
add esp, 0xc
mov edx, dword [ebp - 0x3e8]
mov eax, dword [edx + 0x254]
push eax
push 0x5939f8
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.0056d39f
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea edx, [ebp - 0x3d0]
push edx
push 0x59eb14
push str.AddPoint
call fcn.0050ba20
add esp, 0x10
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.0056d540
add esp, 0xc
mov ecx, dword [ebp - 0x3e8]
mov edx, dword [ecx + 0x258]
push edx
push 0x5939f8
lea eax, [ebp - 0x3d0]
push eax
call fcn.0056d39f
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push 0x59eb10
push str.AddPoint
call fcn.0050ba20
add esp, 0x10
push 0xff
lea edx, [ebp - 0x108]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x108]
push eax
call fcn.0056d4e0
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x108]
push ecx
call fcn.0056eac0
add esp, 8
push 0xff
lea edx, [ebp - 0x308]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x308]
push eax
call fcn.0056d4e0
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Cfg.ini
lea ecx, [ebp - 0x308]
push ecx
call fcn.0056eac0
add esp, 8
lea edx, [ebp - 0x308]
push edx
push str.admin
lea eax, [ebp - 0x108]
push eax
call fcn.004fc690
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056ca39
mov esp, ebp
pop ebp
ret