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

Disassembly:
push 0xffffffffffffffff
push 0x7d18b6
mov eax, dword fs:[0]
push eax
mov eax, 0x641b0
call fcn.00725f60
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x641ac], eax
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x641c0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x641d4]
mov esi, ecx
mov edi, edx
call fcn.00418a20
mov esi, dword [esi + 0x10]
push 0x830208
push esi
call fcn.0072b299
add esp, 8
push eax
lea ecx, [esp + 0x18]
call fcn.0064a310
mov dword [esp + 0x641c8], 0
lea ecx, [esp + 0x14]
call fcn.0064a320
test eax, eax
je 0x418668
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
mov word [esp + 0x1c], ax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
push 0xc6
push edx
lea eax, [esp + 0x36]
push eax
mov word [esp + 0x38], dx
call fcn.007202b0
mov eax, dword [esp + 0x641dc]
add esp, 0xc
call fcn.004183b0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movzx ecx, word [esp + 0x2e]
movzx edx, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push ecx
movzx ecx, word [esp + 0x30]
push edx
movzx edx, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x32]
push ecx
movzx ecx, word [esp + 0x34]
push edx
push eax
push ecx
push 0x830210
lea edx, [esp + 0x58]
push 0x64
push edx
call fcn.00729065
xor eax, eax
push 0x31ffe
push eax
lea ecx, [esp + 0x132]
push ecx
mov word [esp + 0x134], ax
call fcn.007202b0
add esp, 0x40
push ebp
push edi
lea edx, [esp + 0xfc]
push 0x18fff
push edx
call fcn.0072a89f
add esp, 0x10
test eax, eax
jge 0x4185a8
mov eax, 0x18fff
xor ecx, ecx
xor edx, edx
push 0x320c6
mov word [esp + eax*2 + 0xf8], cx
push edx
lea eax, [esp + 0x320fe]
push eax
mov word [esp + 0x32100], dx
call fcn.007202b0
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0x830278
lea eax, [esp + 0x3210c]
push 0x19063
push eax
call fcn.00729065
add esp, 0x20
test eax, eax
jge 0x4185ff
mov eax, 0x19063
xor ecx, ecx
lea edx, [esp + 0x320f4]
mov word [esp + eax*2 + 0x320f4], cx
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0060d540
add esp, 8
mov byte [esp + 0x641c8], 1
mov eax, dword [esp + 0x28]
mov esi, dword [eax - 0xc]
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0064a320
push eax
push 1
push esi
push edi
call fcn.0072b81c
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.0064a320
push eax
call fcn.0072f68a
add esp, 4
mov byte [esp + 0x641c8], 0
lea ecx, [esp + 0x28]
call fcn.00403420
mov dword [esp + 0x641c8], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0064a4f0
mov ecx, dword [esp + 0x641c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x641ac]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x641bc
ret 8
Function at 0x4186b0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7d1866
mov eax, dword fs:[0]
push eax
mov eax, 0x320ec
call fcn.00725f60
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x320e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x32100]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x32114]
mov esi, ecx
mov edi, edx
call fcn.00418a20
mov esi, dword [esi + 0x10]
push 0x830208
push esi
call fcn.0072b299
add esp, 8
push eax
lea ecx, [esp + 0x18]
call fcn.0064a310
xor ebx, ebx
mov dword [esp + 0x32108], ebx
lea ecx, [esp + 0x14]
call fcn.0064a320
test eax, eax
je 0x4188b5
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
mov word [esp + 0x1c], ax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x64
lea edx, [esp + 0x31]
push ebx
push edx
mov byte [esp + 0x38], bl
call fcn.007202b0
mov eax, dword [esp + 0x3211c]
add esp, 0xc
call fcn.00418400
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movzx ecx, word [esp + 0x2c]
movzx edx, word [esp + 0x2a]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x30]
push ecx
movzx ecx, word [esp + 0x32]
push edx
movzx edx, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push ecx
push edx
push eax
push str._04d__02d__02d__02d:_02d:_02d._03d___06x:_06x___s_
lea ecx, [esp + 0x58]
push 0x64
push ecx
call fcn.007201d8
push 0x18fff
lea edx, [esp + 0xcd]
push ebx
push edx
mov byte [esp + 0xd4], bl
call fcn.007202b0
add esp, 0x40
push ebp
push edi
lea eax, [esp + 0x9c]
push 0x18fff
push eax
call fcn.0072aacf
add esp, 0x10
cmp eax, ebx
jge 0x4187fe
mov eax, 0x18fff
push 0x19063
lea ecx, [esp + 0x19099]
push ebx
push ecx
mov byte [esp + eax + 0xa0], bl
mov byte [esp + 0x190a0], bl
call fcn.007202b0
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x3c]
push eax
push str._s__s_n
lea ecx, [esp + 0x190ac]
push 0x19063
push ecx
call fcn.007201d8
add esp, 0x20
cmp eax, ebx
jge 0x41884f
mov eax, 0x19063
push ebx
lea edx, [esp + 0x19098]
mov byte [esp + eax + 0x19098], bl
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0060d570
add esp, 0xc
mov byte [esp + 0x32108], 1
mov eax, dword [esp + 0x28]
mov esi, dword [eax - 0xc]
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0064a320
push eax
push 1
push esi
push edi
call fcn.0072b81c
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.0064a320
push eax
call fcn.0072f68a
add esp, 4
mov byte [esp + 0x32108], bl
lea ecx, [esp + 0x28]
call fcn.00403420
mov dword [esp + 0x32108], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0064a4f0
mov ecx, dword [esp + 0x32100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x320e8]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x320f8
ret 8
Function at 0x418a20
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7d17c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00418ce0
cmp dword [esi + 8], 0
jle 0x418b51
mov eax, dword [esi + 0x10]
push 0x8302c4
push eax
call fcn.0072b299
add esp, 8
push eax
lea ecx, [esp + 0x14]
call fcn.0064a310
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x10]
call fcn.0064a320
test eax, eax
je 0x418b40
lea ecx, [esp + 0x10]
call fcn.0064a320
push 2
mov edi, eax
push 0
push edi
call fcn.0072b14e
push edi
call fcn.0072b056
push 0
push 0
push edi
mov ebp, eax
call fcn.0072b14e
mov eax, dword [esi + 8]
add esp, 0x1c
cmp ebp, eax
jl 0x418b40
cdq
sub eax, edx
mov edi, eax
lea ecx, [esp + 0x14]
sar edi, 1
call fcn.004033c0
mov byte [esp + 0x20], 1
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.0064a320
mov edi, eax
call fcn.00418ba0
mov esi, dword [esi + 0x10]
push 0x8302cc
push esi
call fcn.0072b299
add esp, 8
push eax
lea ecx, [esp + 0x14]
call fcn.0064a4c0
lea ecx, [esp + 0x10]
call fcn.0064a320
test eax, eax
je 0x418b32
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.0064a320
push eax
push 1
push esi
push edi
call fcn.0072b81c
add esp, 0x10
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x14]
call fcn.00403420
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0064a4f0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x418ba0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7d0958
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x20]
push 2
xor ebx, ebx
push ebx
push edi
call fcn.0072b14e
push edi
call fcn.0072b056
push ebx
push ebx
push edi
mov esi, eax
call fcn.0072b14e
add esp, 0x1c
test ebp, ebp
jle 0x418bf3
cmp esi, ebp
jle 0x418bf3
sub esi, ebp
mov ebx, esi
mov esi, ebp
test esi, esi
jg 0x418c0e
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0
push ebx
push edi
call fcn.0072b14e
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.004033c0
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea ebx, [esi + 1]
sub eax, ebx
or eax, edx
jge 0x418c51
push ebx
lea ecx, [esp + 0x24]
call fcn.00404b80
mov ecx, dword [esp + 0x20]
push edi
push esi
push 1
push ecx
mov ebx, ecx
call fcn.0072ae9c
push 0
push 0
push edi
call fcn.0072b14e
mov byte [ebx + esi], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.007237bb
add esp, 0x24
test eax, eax
jl 0x418cce
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx - 8]
jg 0x418cce
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x20]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.00404a20
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00403420
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0x80070057
call fcn.004066b0
int3

Function at 0x418ce0
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esi + 0x10]
cmp dword [eax - 0xc], 0
push edi
lea edi, [esi + 0x10]
jne 0x418d72
push ebx
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.007202b0
add esp, 0xc
push 0
push 0x1a
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.LDSGameCenterSpecLog
lea ecx, [esp + 0xc]
push ecx
call ebx
push 0x830300
lea edx, [esp + 0xc]
push edx
call ebx
push 0
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [esi + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push str._s_s.log
push edi
call fcn.0040e430
add esp, 0x10
pop ebx
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
call fcn.0071fe0b
add esp, 0x20c
ret
Function at 0x41b390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x7d0871
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov byte [esi + 9], bl
xor eax, eax
mov dword [esi + 0x24], 7
mov dword [esi + 0x20], ebx
mov word [esi + 0x10], ax
mov dword [esp + 0x18], ebx
call fcn.00623080
mov dword [esi + 0x28], eax
mov byte [esp + 0x18], 1
mov dword [esi + 0x2c], 0xf0
mov dword [esi + 0x30], ebx
call dword [sym.imp.WINMM.dll_timeGetTime]
lea ecx, [esi + 0x44]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 1
push ecx
mov dword [esi + 0x40], vtable._BaseModule::CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x41b650
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x34], 1
test eax, eax
jne 0x41b66e
mov eax, 0xf0
mov cl, byte [esi + 8]
mov dword [esi + 0x2c], eax
test cl, cl
jne 0x41b6b3
cmp dword [esi + 4], 0
jne 0x41b6b3
push 0
push 0
push esi
push 0x41c680
push 0
push 0
mov byte [esi + 9], cl
call fcn.007263d8
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x41b6b3
call fcn.007261ee
mov edx, dword [eax]
push edx
push str.CAppConfig::AsyncLoadConfig___beginthreadex_failed__error_d
call fcn.00609060
add esp, 8
pop esi
ret 8

Function at 0x41b6c0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
mov byte [esi + 9], 1
test eax, eax
je 0x41b6d5
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
call edi
mov ebp, eax
mov al, byte [esi + 8]
test al, al
je 0x41b707
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
call edi
sub eax, ebp
cmp eax, 0x1388
jae 0x41b706
push 0xa
call ebx
mov cl, byte [esi + 8]
test cl, cl
jne 0x41b6f0
pop ebx
mov dl, byte [esi + 8]
pop ebp
test dl, dl
je 0x41b723
mov eax, dword [esi + 4]
test eax, eax
je 0x41b71f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov byte [esi + 8], 0
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41b738
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41b749
push eax
call edi
mov dword [esi + 4], 0
pop edi
pop esi
ret
Function at 0x41bbf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7d0e68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0xc]
push ecx
call fcn.00614780
add esp, 8
cmp eax, ebx
jg 0x41bc74
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x41bc69
mov edx, dword [esp + 0x14]
push edx
call fcn.00704960
add esp, 4
mov dword [esp + 0x28], esi
xor eax, eax
jmp 0x41bd15
mov eax, dword [esp + 0x14]
mov ebp, 0x10
cmp dword [esp + 0x28], ebp
jae 0x41bc87
lea eax, [esp + 0x14]
push eax
call fcn.00623a40
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x41bcd1
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebp
jae 0x41bca4
lea eax, [esp + 0x14]
push eax
push str.CAppConfig::_LoadConfigFile__cJSON_Parse_failed___s
call fcn.00608b30
add esp, 8
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], ebp
jb 0x41bccd
mov eax, dword [esp + 0x14]
push eax
call fcn.00704960
add esp, 4
xor eax, eax
jmp 0x41bd0d
push 0xf0
push str.refresh_time
push esi
call fcn.00621480
add esp, 0xc
cmp eax, ebx
jg 0x41bced
mov eax, 0xf0
mov dword [edi + 0x2c], eax
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], ebp
jb 0x41bd0b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00704960
add esp, 4
mov eax, esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x2c
ret
Function at 0x41bd40
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x7d26e0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
add edi, 0xc
cmp dword [edi + 0x18], 8
jb 0x41bd76
mov eax, dword [edi + 4]
jmp 0x41bd79
lea eax, [edi + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004068d0
xor ebx, ebx
mov dword [esp + 0x44], ebx
lea eax, [esp + 0x18]
or esi, 0xffffffff
push eax
mov dword [esp + 0x48], esi
call fcn.0060d920
add esp, 8
mov dword [esp + 0x40], 1
mov ecx, dword [esp + 0x14]
push ebx
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, dword [esp + 0x48]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00622010
add esp, 8
mov byte [esp + 0x40], 2
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], ebx
jne 0x41be14
push str.CAppConfig::_SaveConfigFile__JsonHelper::Print_failed
call fcn.00609060
add esp, 4
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x10]
call fcn.00403420
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x14]
call fcn.00405ef0
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 4
mov eax, ecx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41be30
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00406a70
mov byte [esp + 0x40], 3
lea ecx, [esp + 0x1c]
push ecx
push edi
call fcn.00611fd0
add esp, 8
mov esi, eax
mov byte [esp + 0x40], 2
cmp dword [esp + 0x34], 0x10
jb 0x41be72
mov edx, dword [esp + 0x20]
push edx
call fcn.00704960
add esp, 4
cmp esi, ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jg 0x41bedb
cmp dword [edi + 0x18], 8
jb 0x41be91
mov edi, dword [edi + 4]
jmp 0x41be94
add edi, 4
neg esi
push esi
push edi
push str.CAppConfig::_SaveConfigFile__write_file__s_failed__error_d
call fcn.00609060
add esp, 0xc
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x10]
call fcn.00403420
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00405ef0
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 4
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x10]
call fcn.00403420
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00405ef0
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 4
Function at 0x41e5b0
Capabilities:
Check for peb beingdebugged flag
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x7d2691
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
push 0x208
xor ebx, ebx
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.007202b0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x38]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x34]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e633
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
call fcn.00404850
mov dword [esp + 0x450], ebx
push 0x12
push 0x82fddc
lea ecx, [esp + 0x20]
call fcn.0041f460
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x41e677
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
call fcn.004068d0
mov byte [esp + 0x450], 1
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
call fcn.00618340
add esp, 8
mov byte [esp + 0x450], 3
lea ecx, [esp + 0xc]
call fcn.00405ef0
push 0x206
lea edx, [esp + 0x242]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x248], cx
call fcn.007202b0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x240]
push ecx
lea edx, [esp + 0x18]
push edx
push str.Shortcut
push str.SoftwareLDSGameCenter
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x240]
push ecx
call fcn.00723690
add esp, 8
test eax, eax
jne 0x41e754
mov byte [esp + 0x450], bl
lea ecx, [esp + 8]
call fcn.00405ef0
mov dword [esp + 0x450], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x41e74b
mov edx, dword [esp + 0x1c]
push edx
call fcn.00704960
add esp, 4
xor eax, eax
mov word [esp + 0x1c], ax
jmp 0x41e78d
mov byte [esp + 0x450], bl
lea ecx, [esp + 8]
call fcn.00405ef0
mov dword [esp + 0x450], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x41e783
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00704960
add esp, 4
xor edx, edx
mov word [esp + 0x1c], dx
lea eax, [edx + 1]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 7
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x44c
ret
Function at 0x4203f0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x7cea11
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0xa
lea ecx, [esi + 0x30]
call fcn.00405ef0
mov byte [esp + 0x14], 9
lea ecx, [esi + 0x2c]
call fcn.00405ef0
mov byte [esp + 0x14], 8
lea ecx, [esi + 0x28]
call fcn.00405ef0
mov byte [esp + 0x14], 7
lea ecx, [esi + 0x24]
call fcn.00405ef0
mov byte [esp + 0x14], 6
lea ecx, [esi + 0x20]
call fcn.00405ef0
mov byte [esp + 0x14], 5
lea ecx, [esi + 0x18]
call fcn.00405ef0
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x14]
call fcn.00405ef0
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x10]
call fcn.00405ef0
mov byte [esp + 0x14], 2
lea ecx, [esi + 0xc]
call fcn.00405ef0
mov byte [esp + 0x14], 1
lea ecx, [esi + 8]
call fcn.00405ef0
mov byte [esp + 0x14], 0
lea ecx, [esi + 4]
call fcn.00405ef0
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.00405ef0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x420780
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x7d16fb
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x40c], eax
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x414]
mov dword fs:[0], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0x1a]
push ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0x400
mov word [esp + 0x1c], ax
call fcn.007202b0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x8308dc
push str.SoftwareLDSGameCenter
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x420872
lea ecx, [esp + 4]
call fcn.00405e90
mov dword [esp + 0x41c], 0
push esi
lea edx, [esp + 8]
push str.__s_
push edx
call fcn.0040e430
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00723723
add esp, 0x14
test eax, eax
je 0x42085e
mov dword [esp + 0x41c], 0xffffffff
lea ecx, [esp + 4]
call fcn.00405ef0
mov eax, 1
jmp 0x420874
mov dword [esp + 0x41c], 0xffffffff
lea ecx, [esp + 4]
call fcn.00405ef0
xor eax, eax
mov ecx, dword [esp + 0x414]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x41c
ret