Function at 0x50d290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62d8d3
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0x480]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
xor eax, eax
lea edi, [esi + 0x5f4]
mov dword [esp + 0x18], eax
push dword [esp + 0x18]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x1b]
push eax
push dword [edi + 4]
mov dword [esp + 0x38], edi
push dword [edi]
call fcn.0042a860
mov eax, dword [edi]
lea ebx, [esi + 0x600]
push dword [esp + 0x28]
mov dword [edi + 4], eax
lea eax, [esp + 0x2b]
push eax
push dword [ebx + 4]
mov dword [esp + 0x4c], ebx
push dword [ebx]
call fcn.0042a860
mov eax, dword [ebx]
push dword [esp + 0x38]
mov dword [ebx + 4], eax
lea eax, [esp + 0x3b]
push eax
push dword [esi + 0x640]
lea ebx, [esi + 0x63c]
push dword [ebx]
call fcn.0042a860
mov eax, dword [ebx]
add esp, 0x30
mov dword [ebx + 4], eax
cmp dword [esi + 0x648], 0
mov eax, dword [0x712c68]
mov byte [esp + 0x17], 0
jne 0x50d39f
test al, 1
jne 0x50d38f
or eax, 1
mov dword [0x712c68], eax
mov dword [esp + 0x488], 0
call fcn.004d8260
push 0x6430f0
call fcn.0061181b
add esp, 4
mov dword [esp + 0x488], 0xffffffff
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push 0x6d9134
jmp 0x50d3e1
test al, 1
jne 0x50d3d3
or eax, 1
mov dword [0x712c68], eax
mov dword [esp + 0x488], 1
call fcn.004d8260
push 0x6430f0
call fcn.0061181b
add esp, 4
mov dword [esp + 0x488], 0xffffffff
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push 0x6d914c
mov dword [ecx + 0x14], 7
xor eax, eax
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.00414cd0
lea eax, [esp + 0x2f]
mov ecx, 0x712c70
push eax
lea eax, [esi + 0x600]
push eax
push edi
call fcn.004da220
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x50d50e
lea ecx, [ecx]
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], ax
call fcn.00414cd0
mov dword [esp + 0x4a0], 2
mov eax, dword [0x712c68]
test al, 1
jne 0x50d483
or eax, 1
mov dword [0x712c68], eax
mov byte [esp + 0x4a0], 3
call fcn.004d8260
push 0x6430f0
call fcn.0061181b
add esp, 4
mov byte [esp + 0x4a0], 2
lea eax, [esp + 0x50]
mov dword [esp + 0x4a0], 0xffffffff
push eax
call fcn.004dd1c0
mov dword [esp + 0x488], 4
cmp dword [esp + 0x48], 0
je 0x50d4e4
mov ecx, dword [ebx]
lea eax, [esp + 0x38]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x640]
call fcn.004e79c0
mov ecx, dword [esp + 0x2c]
add esp, 8
cmp eax, dword [ecx + 0x640]
jne 0x50d4e4
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.00442fb0
mov dword [esp + 0x488], 0xffffffff
cmp dword [esp + 0x4c], 8
jb 0x50d503
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x50d420
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
add eax, 0x5dc
mov dword [esp + 0x28], eax
xor eax, eax
cmp dword [edi + 0x5ec], eax
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x50d7f6
mov ecx, dword [ebx + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x50d597
xor eax, eax
mov dword [esp + 0xcc], 7
push 0xffffffffffffffff
push eax
push dword [ebx]
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
call fcn.00414cd0
lea esi, [esp + 0xb8]
mov ebx, 1
jmp 0x50d5d5
xor eax, eax
mov dword [esp + 0x9c], 7
push eax
push 0x6523fc
lea ecx, [esp + 0x90]
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], ax
call fcn.00415c10
lea esi, [esp + 0x88]
mov ebx, 2
xor eax, eax
mov dword [esp + 0x34], ebx
cmp dword [esi + 0x14], 8
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], 0
mov word [esp + 0xa0], ax
jae 0x50d61c
mov eax, dword [esi + 0x10]
inc eax
je 0x50d62b
add eax, eax
push eax
lea eax, [esp + 0xa4]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x50d62b
mov eax, dword [esi]
mov dword [esp + 0xa0], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0xb4], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esp + 0x488], 6
test bl, 2
je 0x50d6a3
and ebx, 0xfffffffd
cmp dword [esp + 0x9c], 8
mov dword [esp + 0x34], ebx
jb 0x50d683
push dword [esp + 0x88]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], 0
mov word [esp + 0x88], ax
mov byte [esp + 0x488], 7
test bl, 1
je 0x50d6f1
and ebx, 0xfffffffe
cmp dword [esp + 0xcc], 8
mov dword [esp + 0x34], ebx
jb 0x50d6d1
push dword [esp + 0xb8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], 0
mov word [esp + 0xb8], ax
mov ebx, dword [esp + 0x28]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push ebx
mov word [ecx], ax
call fcn.00414cd0
mov byte [esp + 0x4a0], 8
mov eax, dword [0x712c68]
test al, 1
jne 0x50d755
or eax, 1
mov dword [0x712c68], eax
mov byte [esp + 0x4a0], 9
call fcn.004d8260
push 0x6430f0
call fcn.0061181b
add esp, 4
mov byte [esp + 0x4a0], 8
lea eax, [esp + 0x50]
mov byte [esp + 0x4a0], 7
push eax
call fcn.004dd1c0
mov byte [esp + 0x488], 0xa
lea ecx, [esp + 0x38]
cmp dword [esp + 0x48], 0
lea eax, [esp + 0xa0]
cmovne eax, ecx
lea ecx, [edi + 0x60c]
cmp ecx, eax
je 0x50d796
push 0xffffffffffffffff
push 0
push eax
call fcn.00414cd0
lea ecx, [esp + 0x1c]
call fcn.0050e360
cmp dword [esp + 0x4c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x50d7b5
push dword [esp + 0x38]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x488], 0xffffffff
cmp dword [esp + 0xb4], 8
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
jb 0x50da9a
push dword [esp + 0xa0]
call esi
add esp, 4
jmp 0x50da9a
mov ebx, edi
cmp dword [ebx + 0x61c], 0
je 0x50da96
lea ecx, [esp + 0x1c]
call fcn.0050e360
mov esi, dword [ebx + 0x600]
mov edi, dword [ebx + 0x604]
cmp esi, edi
je 0x50d904
lea eax, [ebx + 0x624]
mov dword [esp + 0x1c], eax
lea esp, [esp]
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], ax
call fcn.00414cd0
lea ecx, [esp + 0x50]
call fcn.00501340
mov ecx, eax
add esp, 0x18
cmp dword [ecx + 0x14], 8
mov ebx, dword [ecx + 0x10]
mov dword [esp + 0x20], ebx
jb 0x50d86e
mov ecx, dword [ecx]
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x50d87d
mov edx, dword [edx]
cmp eax, dword [esp + 0x20]
cmovb ebx, eax
test ebx, ebx
jne 0x50d8a2
xor eax, eax
test eax, eax
jne 0x50d8ca
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
cmp ecx, edx
jae 0x50d8c1
or eax, 0xffffffff
jmp 0x50d8c8
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x50d8b3
add edx, 2
add ecx, 2
dec ebx
jmp 0x50d886
movzx eax, word [edx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x50d88a
xor eax, eax
cmp ecx, edx
setne al
test eax, eax
sete bl
cmp dword [esp + 0x4c], 8
jb 0x50d8e1
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
test bl, bl
je 0x50d8f9
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x50d8f9
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00414cd0
add esi, 0x18
cmp esi, edi
jne 0x50d830
mov ebx, dword [esp + 0x28]
xor eax, eax
cmp dword [ebx + 0x10], eax
setne al
test eax, eax
sete al
test al, al
je 0x50da14
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x50da14
mov eax, dword [esp + 0x24]
add eax, 0x624
mov dword [esp + 0x20], eax
jmp 0x50d940
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], ax
call fcn.00414cd0
lea ecx, [esp + 0x50]
call fcn.00501340
mov ecx, eax
add esp, 0x18
cmp dword [ecx + 0x14], 8
mov ebx, dword [ecx + 0x10]
mov dword [esp + 0x1c], ebx
jb 0x50d97e
mov ecx, dword [ecx]
mov edx, dword [esp + 0x20]
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x50d98d
mov edx, dword [edx]
cmp eax, dword [esp + 0x1c]
cmovb ebx, eax
test ebx, ebx
jne 0x50d9b2
xor eax, eax
test eax, eax
jne 0x50d9da
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
cmp ecx, edx
jae 0x50d9d1
or eax, 0xffffffff
jmp 0x50d9d8
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x50d9c3
add edx, 2
add ecx, 2
dec ebx
jmp 0x50d996
movzx eax, word [edx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x50d99a
xor eax, eax
cmp ecx, edx
setne al
test eax, eax
sete bl
cmp dword [esp + 0x4c], 8
jb 0x50d9f1
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
test bl, bl
mov ebx, dword [esp + 0x28]
je 0x50da09
cmp ebx, esi
je 0x50da09
push 0xffffffffffffffff
push 0
push esi
mov ecx, ebx
call fcn.00414cd0
add esi, 0x18
cmp esi, edi
jne 0x50d940
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x48c], 0xb
push eax
push dword [ebx + 0x10]
mov ecx, ebx
push 0
call fcn.004140b0
test eax, eax
mov dword [esp + 0x488], 0xffffffff
sete al
test al, al
je 0x50da9a
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x50da79
cmp ebx, eax
je 0x50da9a
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00414cd0
jmp 0x50da9a
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x50da9a
cmp ebx, eax
je 0x50da9a
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00414cd0
jmp 0x50da9a
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov edi, dword [esi + 0x828]
test edi, edi
je 0x50db2e
mov ecx, esi
call fcn.004fd130
lea ecx, [esp + 0x88]
mov esi, eax
call fcn.005c5e30
lea eax, [esp + 0x88]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push ebx
mov word [ecx], ax
call fcn.00414cd0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x4a0], 0xc
call fcn.005c67a0
sub eax, 0x78
mov dword [esp + 0x4a0], 0xffffffff
push eax
push dword [esp + 0x4c]
mov ecx, edi
push dword [esp + 0x4c]
call fcn.004a3f70
mov esi, dword [esp + 0x24]
push 1
mov ecx, esi
call fcn.0050ed30
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov dword [esp + 0x488], 0xd
mov ecx, ebx
mov eax, dword [esp + 0x34]
or eax, 4
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3c]
push eax
push dword [ebx + 0x10]
push 0
call fcn.004140b0
test eax, eax
je 0x50dba3
mov eax, dword [esp + 0x30]
mov esi, dword [esi + 0x604]
mov edx, esi
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
call fcn.004e79c0
add esp, 8
cmp eax, esi
je 0x50dba3
mov al, 1
jmp 0x50dba5
xor al, al
mov dword [esp + 0x488], 0xffffffff
test al, al
je 0x50e332
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push ebx
mov word [ecx], ax
call fcn.00414cd0
mov dword [esp + 0x4a0], 0xe
mov eax, dword [0x712c68]
test al, 1
jne 0x50dc1b
or eax, 1
mov dword [0x712c68], eax
mov byte [esp + 0x4a0], 0xf
call fcn.004d8260
push 0x6430f0
call fcn.0061181b
add esp, 4
mov byte [esp + 0x4a0], 0xe
lea eax, [esp + 0x70]
mov dword [esp + 0x4a0], 0xffffffff
push eax
call fcn.004dd150
mov dword [esp + 0x488], 0x10
lea ecx, [esp + 0x20]
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
push 0xa
cmovae eax, dword [esp + 0x5c]
push ecx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.MSVCR120.dll_wcstol]
mov ecx, dword [esp + 0x74]
add esp, 0xc
test ecx, ecx
je 0x50dc91
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
lea eax, [eax + ecx*2]
cmp dword [esp + 0x20], eax
jne 0x50dc91
push 0
push 0x6523fc
lea ecx, [esp + 0x60]
call fcn.00415c10
xor eax, eax
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x488], 0x11
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x50ddaa
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], ax
call fcn.00414cd0
mov byte [esp + 0x4a0], 0x12
mov eax, dword [0x712c68]
test al, 1
jne 0x50dd27
or eax, 1
mov dword [0x712c68], eax
mov byte [esp + 0x4a0], 0x13
call fcn.004d8260
push 0x6430f0
call fcn.0061181b
add esp, 4
mov byte [esp + 0x4a0], 0x12
lea eax, [esp + 0x50]
mov byte [esp + 0x4a0], 0x11
push eax
call fcn.004dd150
mov ecx, eax
mov byte [esp + 0x488], 0x14
lea eax, [esp + 0x58]
cmp dword [esp + 0x6c], 8
push dword [esp + 0x68]
cmovae eax, dword [esp + 0x5c]
push eax
push dword [ecx + 0x10]
push 0
call fcn.004140b0
test eax, eax
mov byte [esp + 0x488], 0x11
sete bl
cmp dword [esp + 0x4c], 8
jb 0x50dd81
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
test bl, bl
jne 0x50dd92
add esi, 0x18
cmp esi, edi
jne 0x50dcc7
jmp 0x50dda6
lea eax, [esp + 0x70]
cmp eax, esi
je 0x50dda6
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00414cd0
mov ebx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x48c], 0x15
push eax
push dword [esp + 0x88]
lea ecx, [esp + 0x7c]
push 0
call fcn.004140b0
test eax, eax
mov byte [esp + 0x488], 0x11
setne al
test al, al
je 0x50e2ec
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x90]
push eax
call fcn.00414cd0
mov byte [esp + 0x4a0], 0x16
mov eax, dword [0x712c68]
test al, 1
jne 0x50de5d
or eax, 1
mov dword [0x712c68], eax
mov byte [esp + 0x4a0], 0x17
call fcn.004d8260
push 0x6430f0
call fcn.0061181b
add esp, 4
mov byte [esp + 0x4a0], 0x16
lea eax, [esp + 0x18c]
mov byte [esp + 0x4a0], 0x11
push eax
mov ecx, 0x712c70
call fcn.004dea80
sub esp, 0x18
mov byte [esp + 0x4a0], 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push ebx
mov word [ecx], ax
call fcn.00414cd0
mov byte [esp + 0x4a0], 0x19
mov eax, dword [0x712c68]
test al, 1
jne 0x50dedf
or eax, 1
mov dword [0x712c68], eax
mov byte [esp + 0x4a0], 0x1a
call fcn.004d8260
push 0x6430f0
call fcn.0061181b
add esp, 4
mov byte [esp + 0x4a0], 0x19
lea eax, [esp + 0x20c]
mov byte [esp + 0x4a0], 0x18
push eax
mov ecx, 0x712c70
call fcn.004dea80
mov ebx, dword [esp + 0x24]
mov byte [esp + 0x488], 0x1b
mov eax, dword [0x712c68]
cmp dword [ebx + 0x648], 0
jne 0x50df48
test al, 1
jne 0x50df41
or eax, 1
mov dword [0x712c68], eax
mov byte [esp + 0x488], 0x1c
call fcn.004d8260
push 0x6430f0
call fcn.0061181b
add esp, 4
mov byte [esp + 0x488], 0x1b
mov eax, dword [0x712d54]
jmp 0x50df7b
test al, 1
jne 0x50df76
or eax, 1
mov dword [0x712c68], eax
mov byte [esp + 0x488], 0x1d
call fcn.004d8260
push 0x6430f0
call fcn.0061181b
add esp, 4
mov byte [esp + 0x488], 0x1b
mov eax, dword [0x712d58]
mov ecx, dword [esp + 0x174]
cmp dword [esp + 0x1f4], ecx
jae 0x50e2d4
cmp eax, ecx
jae 0x50e2d4
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x5c]
push eax
push ebx
lea ecx, [esp + 0xdc]
call fcn.00445500
mov byte [esp + 0x488], 0x1e
lea ecx, [esp + 0x3c]
mov esi, dword [esp + 0x174]
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
call fcn.00414cd0
mov dword [esp + 0x54], esi
push 0x100
lea eax, [esp + 0x278]
mov byte [esp + 0x48c], 0x1f
push 0
push eax
call sub.MSVCR120.dll_memset
mov esi, dword [sym.imp.MSVCR120.dll_mbstowcs_s]
lea eax, [esp + 0x280]
add esp, 0xc
push 0x80
push str.mapping_recommends_updated_notice
push 0x80
push eax
push 0
call esi
add esp, 0x14
lea eax, [esp + 0x274]
push eax
call fcn.005cadc0
add esp, 4
test eax, eax
jne 0x50e062
lea eax, [esp + 0x274]
push eax
push eax
call fcn.005c9ed0
lea eax, [esp + 0x27c]
push eax
call fcn.005cadc0
add esp, 0xc
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00415d10
push 0x100
lea eax, [esp + 0x390]
mov byte [esp + 0x4a4], 0x20
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x38c]
push 0x80
push str.prompt
push 0x80
push eax
push 0
call esi
add esp, 0x14
lea eax, [esp + 0x38c]
push eax
call fcn.005cadc0
add esp, 4
test eax, eax
jne 0x50e0e0
lea eax, [esp + 0x38c]
push eax
push eax
call fcn.005c9ed0
lea eax, [esp + 0x394]
push eax
call fcn.005cadc0
add esp, 0xc
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00415d10
sub esp, 0x18
mov byte [esp + 0x4d0], 0x21
lea eax, [esp + 0x80]
mov dword [esp + 0x78], esp
mov ecx, esp
mov byte [esp + 0x5f], 0
push eax
call fcn.00511970
push 0x100
lea eax, [esp + 0x2c0]
mov byte [esp + 0x4d4], 0x22
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x2bc]
push 0x80
push str.mapping_ingore_updates
push 0x80
push eax
push 0
call esi
add esp, 0x14
lea eax, [esp + 0x2bc]
push eax
call fcn.005cadc0
add esp, 4
test eax, eax
jne 0x50e181
lea eax, [esp + 0x2bc]
push eax
push eax
call fcn.005c9ed0
lea eax, [esp + 0x2c4]
push eax
call fcn.005cadc0
add esp, 0xc
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00415d10
mov dl, byte [esp + 0x77]
lea ecx, [esp + 0x19c]
mov byte [esp + 0x4e8], 0x21
call fcn.00416ba0
add esp, 0x30
push eax
sub esp, 0x18
mov byte [esp + 0x4d4], 0x23
lea eax, [esp + 0x11c]
mov dword [esp + 0x7c], esp
mov ecx, esp
mov byte [esp + 0x63], 1
push eax
call fcn.005118e0
push 0x100
lea eax, [esp + 0x3c4]
mov byte [esp + 0x4d8], 0x24
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x3c0]
push 0x80
push str.mapping_use_recommends
push 0x80
push eax
push 0
call esi
add esp, 0x14
lea eax, [esp + 0x3c0]
push eax
call fcn.005cadc0
add esp, 4
test eax, eax
jne 0x50e23a
lea eax, [esp + 0x3c0]
push eax
push eax
call fcn.005c9ed0
lea eax, [esp + 0x3c8]
push eax
call fcn.005cadc0
add esp, 0xc
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00415d10
mov dl, byte [esp + 0x7b]
lea ecx, [esp + 0x168]
mov byte [esp + 0x4ec], 0x23
call fcn.00416ba0
add esp, 0x30
mov esi, eax
mov byte [esp + 0x4bc], 0x25
mov ecx, ebx
call fcn.004fd130
mov edx, esi
mov byte [esp + 0x4bc], 0x27
mov ecx, eax
call fcn.004298d0
add esp, 0x34
lea ecx, [esp + 0x104]
call fcn.0041b050
lea ecx, [esp + 0x13c]
call fcn.0041b050
cmp dword [esp + 0x50], 8
jb 0x50e2b1
push dword [esp + 0x3c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
lea ecx, [esp + 0xd0]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.00445ac0
lea ecx, [esp + 0x1f4]
call fcn.004ab980
lea ecx, [esp + 0x174]
call fcn.004ab980
cmp dword [esp + 0x84], 8
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x50e305
push dword [esp + 0x70]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x84], 7
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
jb 0x50e332
push dword [esp + 0x58]
call ebx
add esp, 4
mov ecx, dword [esp + 0x480]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret