Function at 0x424a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4475b0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x45c070]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
mov eax, edi
mov dword [esp + 0x20], ebx
call fcn.00423040
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x58
lea eax, [esp + 0x28]
push ebx
push eax
mov dword [esp + 0x94], ebx
call fcn.004308f0
mov ecx, dword [edi + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 0x58
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
add esp, 0xc
or eax, ecx
jge 0x424af1
mov ecx, edi
lea eax, [esp + 0x14]
call fcn.00403660
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x424b00
push 0x80070057
call fcn.004036b0
mov dword [esi - 0xc], edi
xor edx, edx
mov word [esi + 0x208], dx
cmp dword [0x45f36c], 5
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0x208
mov dword [esp + 0x30], str.Settings_Backup_File__.sbf_
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], 0x800
jne 0x424b52
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
jmp 0x424b65
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x5c], 0x1800
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
cmp eax, ebx
jne 0x424b99
add esi, 0xfffffff0
mov dword [esp + 0x88], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x424d61
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x424d61
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x424ba0
sub eax, edx
sar eax, 1
cmp eax, ebx
jl 0x424af6
cmp eax, dword [esi - 8]
jg 0x424af6
xor ecx, ecx
mov dword [esi - 0xc], eax
lea edx, [esp + 0x18]
mov word [esi + eax*2], cx
push edx
mov ecx, str..sbf
call fcn.004037b0
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
cmp dword [esi - 0xc], eax
jle 0x424c17
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00406e00
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 1
call fcn.00424d80
add esp, 4
test al, al
je 0x424c17
mov bl, 1
jmp 0x424c19
xor bl, bl
test byte [esp + 0x1c], 1
je 0x424c40
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424c40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x424c5b
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403a80
mov esi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x3c]
push esi
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x14]
mov edi, 0x46024c
call fcn.00403850
lea edi, [ebx + 0x20]
push 1
mov eax, edi
call fcn.00424de0
test eax, eax
je 0x424d12
test edi, edi
je 0x424c94
lea eax, [edi - 0x20]
jmp 0x424c96
xor eax, eax
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x400
push eax
call ebx
push 0
push 0
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45f370], eax
test edi, edi
je 0x424cc5
lea eax, [edi - 0x20]
jmp 0x424cc7
xor eax, eax
mov ecx, dword [eax + 4]
push 0x403
push ecx
call ebx
push 0
push 0
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45f374], eax
test edi, edi
je 0x424cf0
lea eax, [edi - 0x20]
jmp 0x424cf2
xor eax, eax
mov edx, dword [eax + 4]
push 0x404
push edx
call ebx
push 0
push 0
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x45d528], eax
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424d3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424d61
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4