Function at 0x407990
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bd796
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4ff1a0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
cmp dword [eax + 0x10], ebx
je 0x4079f6
cmp byte [ecx + 0x14], bl
jne 0x4079fd
push str._m_parsed_sucess_error__INI_T_::Save
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
jmp 0x407d5c
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0xc0], ebx
mov eax, dword [ecx + 8]
mov edi, dword [eax]
cmp edi, eax
je 0x407b8e
mov eax, dword [edi + 0x28]
cmp dword [eax + 8], ebx
je 0x407b40
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0040b9d0
mov byte [esp + 0xc0], 1
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x68]
call fcn.00409780
mov byte [esp + 0xc0], bl
cmp dword [esp + 0x54], 0x10
jb 0x407a6b
mov edx, dword [esp + 0x40]
push edx
call fcn.00490458
add esp, 4
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [edi + 0x28]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp esi, dword [eax + 4]
je 0x407b40
nop
lea eax, [esi + 0xc]
lea ecx, [eax + 0x1c]
push ecx
push eax
lea edx, [esp + 0x9c]
push edx
call fcn.0040baf0
mov byte [esp + 0xc0], 2
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x68]
call fcn.00409780
mov byte [esp + 0xc0], bl
cmp dword [esp + 0xa8], 0x10
jb 0x407adb
mov eax, dword [esp + 0x94]
push eax
call fcn.00490458
add esp, 4
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
cmp byte [esi + 0x45], bl
jne 0x407b34
mov eax, dword [esi + 8]
cmp byte [eax + 0x45], bl
jne 0x407b1b
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], bl
jne 0x407b34
lea ebx, [ebx]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], bl
je 0x407b10
jmp 0x407b34
mov eax, dword [esi + 4]
cmp byte [eax + 0x45], bl
jne 0x407b32
cmp esi, dword [eax + 8]
jne 0x407b32
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], bl
je 0x407b23
mov esi, eax
mov eax, dword [edi + 0x28]
cmp esi, dword [eax + 4]
jne 0x407a90
cmp byte [edi + 0x2d], bl
jne 0x407b81
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x2d], bl
jne 0x407b61
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
jne 0x407b5d
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], bl
je 0x407b54
mov edi, ecx
jmp 0x407b81
mov eax, dword [edi + 4]
cmp byte [eax + 0x2d], bl
jne 0x407b7f
lea esp, [esp]
cmp edi, dword [eax + 8]
jne 0x407b7f
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], bl
je 0x407b70
mov edi, eax
mov ecx, dword [esp + 0x1c]
cmp edi, dword [ecx + 8]
jne 0x407a21
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x60]
call fcn.00401020
add esp, 4
mov byte [esp + 0xc0], 3
push ebx
xor eax, eax
mov esi, 7
push 0x4c42e8
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], ax
call fcn.0040e680
mov byte [esp + 0xc0], 4
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x30]
call fcn.0042c920
add esp, 4
mov byte [esp + 0xc0], 3
mov edi, 8
cmp dword [esp + 0x54], edi
jb 0x407c07
mov edx, dword [esp + 0x40]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov word [esp + 0x40], ax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
cmp dword [eax + 0x14], edi
jb 0x407c21
mov eax, dword [eax]
push eax
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
cmp esi, ebx
je 0x407c6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x407c6a
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.FXConfigImpl::save_Parse_Mutex_already_EXISTED
call edi
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x407d82
push str.FXConfigImpl::save_Parse_WaitForSingleObject_mutexOK.
call edi
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.00418a60
add esp, 8
mov byte [esp + 0xc0], 5
mov edx, dword [esp + 0x78]
mov edi, 0x10
cmp dword [esp + 0x8c], edi
jae 0x407c9d
lea edx, [esp + 0x78]
mov ecx, dword [esp + 0x88]
push ecx
push edx
mov ecx, eax
call fcn.00420d60
add esp, 8
mov byte [esp + 0xc0], 3
cmp dword [esp + 0xa8], 8
jb 0x407cd2
mov edx, dword [esp + 0x94]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
push esi
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], ax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0xc0], bl
cmp dword [esp + 0x8c], edi
jb 0x407d19
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00490458
add esp, 4
mov esi, 0xf
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x70], edi
jb 0x407d4e
mov edx, dword [esp + 0x5c]
push edx
call fcn.00490458
add esp, 4
mov dword [esp + 0x70], esi
mov al, 1
mov byte [esp + 0x5c], bl
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004911d1
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x102
jne 0x407c6a
push str.FXConfigImpl::save_time_out_save
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0xc0], bl
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jb 0x407dc4
mov edx, dword [esp + 0x78]
push edx
call fcn.00490458
add esp, 4
mov edi, 0xf
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x70], esi
jb 0x407df9
mov eax, dword [esp + 0x5c]
push eax
call fcn.00490458
add esp, 4
mov dword [esp + 0x70], edi
xor al, al
jmp 0x407d54