Function at 0x427030
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4559fd
mov eax, dword fs:[0]
push eax
sub esp, 0xad0
mov eax, dword [0x46c664]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push ecx
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x660], eax
mov dword [ebp - 0x68c], ebx
call fcn.0041b0c0
add esp, 4
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x88]
call fcn.00415f30
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], 8
jb 0x4270a2
mov edx, dword [ebp - 0x34]
push edx
call fcn.0043266a
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, eax
cmp dword [0x470734], ebx
je 0x4270fb
push 0x470710
call esi
mov ecx, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], cx
mov byte [0x4706f6], bl
push str.NwSapSetup_DEBUGGER:
call fcn.00425590
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x42714b
push 0x470710
call esi
mov edx, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], dx
mov byte [0x4706f6], bl
push 0x45d498
call fcn.00425590
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x42719a
push 0x470710
call esi
mov eax, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], ax
mov byte [0x4706f6], bl
push str._UNHANDLED_EXCEPTION_
call fcn.00425590
mov ecx, dword [ebp - 0x660]
mov edx, dword [ecx]
add esp, 4
mov dword [ebp - 0x664], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x4271f7
push 0x470710
call esi
mov eax, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], ax
mov byte [0x4706f6], bl
mov edi, dword [ebp - 0x664]
mov ecx, dword [edi]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.004285a0
add esp, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x427218
mov eax, dword [eax]
mov ecx, dword [edi]
push ecx
push eax
push str.__Exception:__s__0x_08X_
call fcn.00425590
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], 8
jb 0x42723f
mov edx, dword [ebp - 0x34]
push edx
call fcn.0043266a
add esp, 4
mov eax, 7
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], cx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], dx
mov byte [ebp - 4], 5
mov edx, dword [edi + 0xc]
lea eax, [ebp - 0x680]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x678]
call fcn.00428950
add esp, 8
test eax, eax
je 0x4272f7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x4272c3
push 0x470710
call esi
mov edx, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], dx
mov byte [0x4706f6], bl
cmp dword [ebp - 0x3c], 8
mov eax, dword [ebp - 0x50]
jae 0x4272cf
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x680]
mov edx, dword [ebp - 0x664]
push eax
mov eax, dword [ebp - 0x678]
push eax
mov eax, dword [edx + 0xc]
push ecx
push eax
push str.__Fault_address:_0x_08X__02X:_08X_n_t_s
call fcn.00425590
add esp, 0x14
jmp 0x427351
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x42733a
push 0x470710
call esi
mov ecx, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], cx
mov byte [0x4706f6], bl
mov edx, dword [ebp - 0x664]
mov eax, dword [edx + 0xc]
push eax
push str.__Fault_address:_0x_08X
call fcn.00425590
add esp, 8
mov ecx, dword [ebp - 0x660]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x67c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x660], eax
cmp dword [0x470734], ebx
je 0x4273ac
push 0x470710
call esi
mov edx, dword [ebp - 0x660]
mov eax, 0x45
mov dword [0x4706e8], edx
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], ax
mov byte [0x4706f6], bl
push str.__Registers:
call fcn.00425590
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x660], eax
cmp dword [0x470734], ebx
je 0x427406
push 0x470710
call esi
mov ecx, dword [ebp - 0x660]
mov edx, 0x45
mov dword [0x4706e8], ecx
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], dx
mov byte [0x4706f6], bl
mov eax, dword [edi + 0xb8]
mov ecx, dword [edi + 0xbc]
push eax
push ecx
push str._tInstruction_pointer__CS:EIP_:__04X:_08X
call fcn.00425590
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x660], eax
cmp dword [0x470734], ebx
je 0x42746d
push 0x470710
call esi
mov edx, dword [ebp - 0x660]
mov eax, 0x45
mov dword [0x4706e8], edx
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], ax
mov byte [0x4706f6], bl
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0xc4]
mov eax, dword [edi + 0xc8]
push ecx
push edx
push eax
push str._tStack_pointer________SS:ESP_:__04X:_08X__EBP:_08X
call fcn.00425590
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x660], eax
cmp dword [0x470734], ebx
je 0x4274dc
push 0x470710
call esi
mov ecx, dword [ebp - 0x660]
mov edx, 0x45
mov dword [0x4706e8], ecx
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], dx
mov byte [0x4706f6], bl
mov eax, dword [edi + 0x9c]
mov ecx, dword [edi + 0xa0]
mov edx, dword [edi + 0xa8]
push eax
mov eax, dword [edi + 0xac]
push ecx
mov ecx, dword [edi + 0xa4]
push edx
mov edx, dword [edi + 0xb0]
push eax
push ecx
push edx
push str._tEAX:__08X_n_tEBX:__08X_n_tECX:__08X_n_tEDX:__08X_n_tESI:__08X_n_tEDI:__08X
call fcn.00425590
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x660], eax
cmp dword [0x470734], ebx
je 0x42755f
push 0x470710
call esi
mov eax, dword [ebp - 0x660]
mov ecx, 0x45
mov dword [0x4706e8], eax
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], cx
mov byte [0x4706f6], bl
mov edx, dword [edi + 0xc0]
mov eax, dword [edi + 0x8c]
mov ecx, dword [edi + 0x90]
push edx
mov edx, dword [edi + 0x94]
push eax
mov eax, dword [edi + 0x98]
push ecx
push edx
push eax
push str._tDS:_04X__ES:_04X__FS:_04X__GS:_04X______Flags:_08X
call fcn.00425590
mov eax, dword [ebp - 0x88]
add esp, 0x18
cmp dword [ebp - 0x74], 8
jae 0x4275a1
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00428f90
add esp, 4
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x660], eax
cmp dword [0x470734], ebx
je 0x427604
push 0x470710
call esi
mov edx, dword [ebp - 0x660]
mov eax, 0x45
mov dword [0x4706e8], edx
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], ax
mov byte [0x4706f6], bl
cmp dword [ebp - 0x5c], ebx
jne 0x427610
mov eax, str._DEFAULT_
jmp 0x42761c
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x42761c
lea eax, [ebp - 0x6c]
push eax
push str.__Symbol_path:_n_t_s
call fcn.00425590
lea ecx, [ebp - 0x670]
push ecx
call fcn.0041b300
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x427646
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x670]
push 1
push eax
push edx
call dword [sym.imp.dbghelp.dll_SymInitializeW]
test eax, eax
je 0x427ad7
call dword [sym.imp.dbghelp.dll_SymGetOptions]
or eax, 0x16
push eax
call dword [sym.imp.dbghelp.dll_SymSetOptions]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x660], eax
cmp dword [0x470734], ebx
je 0x4276ba
push 0x470710
call esi
mov eax, dword [ebp - 0x660]
mov ecx, 0x45
mov dword [0x4706e8], eax
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], cx
mov byte [0x4706f6], bl
push str._n__Call_stack:
call fcn.00425590
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x660], eax
cmp dword [0x470734], ebx
je 0x427713
push 0x470710
call esi
mov edx, dword [ebp - 0x660]
mov eax, 0x45
mov dword [0x4706e8], edx
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], ax
mov byte [0x4706f6], bl
push str._tAddress___Frame
call fcn.00425590
add esp, 4
push pe_nt_image_headers32
lea ecx, [ebp - 0x654]
push ebx
push ecx
call fcn.0043a080
mov edx, dword [edi + 0xb8]
mov ecx, dword [edi + 0xc4]
add esp, 0xc
push ebx
mov dword [ebp - 0x65c], edx
mov edx, dword [edi + 0xb4]
mov dword [ebp - 0x62c], ecx
mov ecx, dword [sym.imp.dbghelp.dll_SymGetModuleBase64]
push ecx
mov eax, 3
mov dword [ebp - 0x63c], edx
mov edx, dword [sym.imp.dbghelp.dll_SymFunctionTableAccess64]
push edx
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x620], eax
mov dword [ebp - 0x630], eax
mov eax, dword [ebp - 0x670]
push ebx
mov dword [ebp - 0x660], eax
push edi
lea eax, [ebp - 0x65c]
push eax
mov dword [ebp - 0x664], ebx
mov dword [ebp - 0x658], ebx
mov dword [ebp - 0x628], ebx
mov dword [ebp - 0x638], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, dword [ebp - 0x660]
push eax
push ecx
push 0x14c
call dword [sym.imp.dbghelp.dll_StackWalk64]
test eax, eax
je 0x427aca
mov edx, dword [ebp - 0x63c]
or edx, dword [ebp - 0x638]
je 0x427aca
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x427821
push 0x470710
call esi
mov eax, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], ax
mov byte [0x4706f6], bl
mov ecx, dword [ebp - 0x638]
mov edx, dword [ebp - 0x63c]
mov eax, dword [ebp - 0x658]
push ecx
mov ecx, dword [ebp - 0x65c]
push edx
push eax
push ecx
push str._t_08X___08X
call fcn.00425590
mov ecx, dword [ebp - 0x658]
add esp, 0x14
lea edx, [ebp - 0x37c]
push edx
mov edx, dword [ebp - 0x65c]
lea eax, [ebp - 0x694]
push eax
mov eax, dword [ebp - 0x670]
push ecx
push edx
xorpd xmm0, xmm0
push eax
movlpd qword [ebp - 0x694], xmm0
mov dword [ebp - 0x37c], 0x58
mov dword [ebp - 0x32c], 0x200
call dword [sym.imp.dbghelp.dll_SymFromAddrW]
test eax, eax
je 0x4278f6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x4278da
push 0x470710
call esi
mov ecx, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], cx
mov byte [0x4706f6], bl
mov edx, dword [ebp - 0x690]
mov eax, dword [ebp - 0x694]
push edx
push eax
lea ecx, [ebp - 0x328]
push ecx
push str.___s_X
jmp 0x42794f
lea edx, [ebp - 0x680]
push edx
mov edx, dword [ebp - 0x65c]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x678]
call fcn.00428950
add esp, 8
test eax, eax
je 0x427957
push 0x45
push str.NwSapFeiLg
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.00425480
mov eax, dword [ebp - 0x50]
add esp, 0xc
cmp dword [ebp - 0x3c], 8
jae 0x42793b
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x678]
mov edx, dword [ebp - 0x680]
push eax
push ecx
push edx
push str.____04X:_08X__s
call fcn.00425590
add esp, 0x10
mov edx, dword [ebp - 0x658]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x65c]
lea ecx, [ebp - 0x674]
push ecx
mov ecx, dword [ebp - 0x670]
push edx
push eax
push ecx
mov dword [ebp - 0x34], 0x18
call dword [sym.imp.dbghelp.dll_SymGetLineFromAddrW64]
test eax, eax
je 0x4279e0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x4279cb
push 0x470710
call esi
mov edx, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], dx
mov byte [0x4706f6], bl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
push str.____________________s:_i
call fcn.00425590
add esp, 0xc
cmp dword [ebp - 0x664], 8
jae 0x427a86
mov dword [ebp - 0x660], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x427a36
push 0x470710
call esi
mov edx, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], dx
mov byte [0x4706f6], bl
mov edi, dword [ebp - 0x660]
mov eax, dword [ebp + edi*8 - 0x600]
mov ecx, dword [ebp + edi*8 - 0x604]
push eax
push ecx
push edi
push str.___________________Param__i:___0x_08X
call fcn.00425590
mov edx, dword [ebp + edi*8 - 0x604]
add esp, 0x10
or edx, dword [ebp + edi*8 - 0x600]
je 0x427a76
mov ecx, dword [ebp + edi*8 - 0x604]
call fcn.00428a70
inc edi
mov dword [ebp - 0x660], edi
cmp edi, 4
jl 0x4279f3
mov eax, dword [sym.imp.dbghelp.dll_SymGetModuleBase64]
mov ecx, dword [sym.imp.dbghelp.dll_SymFunctionTableAccess64]
mov edx, dword [ebp - 0x67c]
inc dword [ebp - 0x664]
mov edi, dword [ebp - 0x670]
push ebx
push eax
push ecx
push ebx
push edx
lea eax, [ebp - 0x65c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
push edi
push 0x14c
call dword [sym.imp.dbghelp.dll_StackWalk64]
test eax, eax
jne 0x4277cd
mov ecx, dword [ebp - 0x670]
push ecx
call dword [sym.imp.dbghelp.dll_SymCleanup]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x427b1a
push 0x470710
call esi
mov edx, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], dx
mov byte [0x4706f6], bl
push str.__Modules:
call fcn.00425590
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x427b69
push 0x470710
call esi
mov eax, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], ax
mov byte [0x4706f6], bl
push str.___Base______Upper
call fcn.00425590
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x674], esp
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x688]
push ecx
mov byte [ebp - 4], 7
call fcn.00430260
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x554]
push edx
lea ecx, [ebp - 0x688]
call fcn.004298c0
mov byte [ebp - 4], 0xb
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xadc]
push eax
call fcn.00429a50
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x554]
cmp ecx, dword [eax]
setne byte [ebp - 0x665]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xad8]
cmp eax, ebx
jne 0x427c12
mov eax, dword [ebp - 0xadc]
cmp eax, 0xffffffff
je 0x427c37
cmp eax, ebx
je 0x427c37
push eax
call edi
mov eax, dword [ebp - 0xad8]
cmp eax, ebx
je 0x427c37
dec dword [eax]
jne 0x427c37
mov eax, dword [ebp - 0xadc]
cmp eax, 0xffffffff
je 0x427c28
cmp eax, ebx
je 0x427c28
push eax
call edi
mov edx, dword [ebp - 0xad8]
push edx
call fcn.0043266a
add esp, 4
mov dword [ebp - 0xad8], ebx
mov dword [ebp - 0xadc], 0xffffffff
cmp byte [ebp - 0x665], bl
je 0x428216
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x54c]
push ecx
call fcn.00426de0
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0xd0]
push edx
push eax
call fcn.004174b0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xd8], 8
jb 0x427c93
mov eax, dword [ebp - 0xec]
push eax
call fcn.0043266a
add esp, 4
xor ecx, ecx
lea edx, [ebp - 0x59c]
mov dword [ebp - 0xd8], 7
mov dword [ebp - 0xdc], ebx
mov word [ebp - 0xec], cx
mov dword [ebp - 0x5fc], 0x45d3f0
mov dword [ebp - 0x5ec], 0x45d578
mov dword [ebp - 0x674], edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
mov byte [ebp - 4], 0x12
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x13
or dword [ebp - 0x68c], 1
lea eax, [ebp - 0x5e4]
push eax
lea ecx, [ebp - 0x5fc]
push ecx
call fcn.0040c710
mov dword [ebp - 4], 0x14
mov edx, dword [ebp - 0x5fc]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x5e4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x674], ecx
call fcn.0040c8b0
mov byte [ebp - 4], 0x15
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x5a8], ebx
mov dword [ebp - 0x5a4], ebx
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x54c]
push eax
call fcn.00426de0
mov dword [ebp - 0x678], eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x538]
mov ecx, dword [ebp - 0x534]
push ebx
lea edx, [ebp - 0x6ac]
push 8
push edx
mov dword [ebp - 0x680], eax
mov dword [ebp - 0x660], ecx
mov dword [ebp - 0x67c], eax
call fcn.0043125a
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x5ec]
push 0x45ebe8
push eax
call fcn.0040dc20
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x427db9
xor eax, eax
jmp 0x427dc0
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
add eax, esi
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push edx
mov edx, dword [edi]
push ecx
push eax
call edx
mov eax, dword [esi]
mov eax, dword [eax + 4]
add esp, 0xc
lea edx, [ebp - 0x694]
mov ecx, 0x30
push 0x10
push edx
mov word [eax + esi + 0x40], cx
call fcn.00431244
mov ecx, dword [esi]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push edx
push ecx
call eax
push ebx
lea ecx, [ebp - 0x2c]
push 8
push ecx
call fcn.0043125a
mov edx, dword [ebp - 0x67c]
add esp, 0x1c
push 0x45fa4c
push ecx
push edx
push esi
mov edi, eax
call fcn.004296e0
add esp, 4
push eax
call fcn.0040dc20
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x427e37
xor eax, eax
jmp 0x427e3e
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
push eax
mov eax, dword [edi]
call eax
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov edx, 0x30
add esp, 0xc
mov word [eax + esi + 0x40], dx
lea eax, [ebp - 0x69c]
push 0x10
push eax
call fcn.00431244
mov ecx, dword [esi]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push edx
push ecx
call eax
add esp, 0x10
push 0x45d9d4
push ecx
mov ecx, dword [ebp - 0x660]
add ecx, dword [ebp - 0x680]
push ecx
push esi
call fcn.004296e0
add esp, 4
push eax
call fcn.0040dc20
mov ecx, dword [ebp - 0x678]
push ecx
push eax
call fcn.0040e660
add esp, 0x10
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0xf4], 8
jb 0x427ecc
mov edx, dword [ebp - 0x108]
push edx
call fcn.0043266a
add esp, 4
mov edi, 7
xor eax, eax
xor edx, edx
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf8], ebx
mov word [ebp - 0x108], ax
mov dword [ebp - 0xac], 0xffffffff
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], ebx
mov word [ebp - 0xa4], dx
mov byte [ebp - 4], 0x1c
lea esi, [ebp - 0xac]
lea eax, [ebp - 0xd0]
call fcn.0041e770
test eax, eax
setne al
mov byte [ebp - 4], 0x18
xor ecx, ecx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], ebx
mov word [ebp - 0xa4], cx
cmp al, bl
je 0x427f7c
lea edx, [ebp - 0x5ec]
push 0x45e880
push edx
call fcn.0040dc20
add esp, 8
lea ecx, [ebp - 0xd0]
mov esi, eax
call fcn.0041e5f0
push eax
push esi
call fcn.0040dc20
push 0x45ea60
push esi
call fcn.0040dc20
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
cmp dword [0x470734], ebx
je 0x427fc2
push 0x470710
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 0x45
mov dword [0x4706e8], esi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], ax
mov byte [0x4706f6], bl
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x5fc]
push edx
call fcn.004052e0
mov byte [ebp - 4], 0x1e
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x427fe5
mov eax, dword [eax]
push eax
call fcn.00425590
add esp, 4
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x110], esi
jb 0x428009
mov eax, dword [ebp - 0x124]
push eax
call fcn.0043266a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x114], ebx
mov word [ebp - 0x124], cx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x5fc]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x59c]
mov dword [ebp - 0x674], edx
mov dword [ebp + ecx - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x5e4]
mov dword [ebp - 0x660], edx
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov byte [ebp - 4], 0x21
test byte [ebp - 0x5a4], 1
je 0x42807a
mov eax, dword [ebp - 0x5d4]
mov eax, dword [eax]
push eax
call fcn.0043266a
add esp, 4
mov ecx, dword [ebp - 0x5d4]
mov dword [ecx], ebx
mov edx, dword [ebp - 0x5c4]
mov dword [edx], ebx
mov eax, dword [ebp - 0x5b4]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x5d0]
mov dword [ecx], ebx
mov edx, dword [ebp - 0x5c0]
mov dword [edx], ebx
mov eax, dword [ebp - 0x5b0]
mov dword [eax], ebx
and dword [ebp - 0x5a4], 0xfffffffe
mov dword [ebp - 0x5a8], ebx
mov byte [ebp - 4], 0x1f
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x5ac]
mov dword [ebp - 0x67c], eax
cmp eax, ebx
je 0x42813e
mov edi, dword [eax]
cmp edi, ebx
je 0x428127
push ebx
lea ecx, [ebp - 0x664]
call fcn.004306a3
mov byte [ebp - 4], 0x23
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x4280ff
cmp eax, 0xffffffff
jae 0x4280ff
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
and esi, edi
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x664]
call fcn.004306cb
cmp esi, ebx
je 0x428127
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x67c]
push ecx
call fcn.0043266a
mov esi, 8
add esp, 4
lea edi, [esi - 1]
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x5e0]
call fcn.00430522
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x5fc]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x5e4]
mov dword [ebp - 0x674], edx
mov dword [ebp + ecx - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x5ec]
mov eax, dword [edx + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x5fc]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x59c]
mov dword [ebp + edx - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x674], eax
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x10
mov ecx, eax
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0043060b
add esp, 4
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xb4], esi
jb 0x4281eb
mov edx, dword [ebp - 0xc8]
push edx
call fcn.0043266a
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x554]
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb8], ebx
mov word [ebp - 0xc8], ax
call fcn.00429c10
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x427bc3
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x550]
cmp eax, ebx
jne 0x428240
mov eax, dword [ebp - 0x554]
cmp eax, 0xffffffff
je 0x428265
cmp eax, ebx
je 0x428265
push eax
call edi
mov eax, dword [ebp - 0x550]
cmp eax, ebx
je 0x428265
dec dword [eax]
jne 0x428265
mov eax, dword [ebp - 0x554]
cmp eax, 0xffffffff
je 0x428256
cmp eax, ebx
je 0x428256
push eax
call edi
mov ecx, dword [ebp - 0x550]
push ecx
call fcn.0043266a
add esp, 4
mov dword [ebp - 0x550], ebx
mov dword [ebp - 0x554], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x4282b8
push 0x470710
call esi
mov edx, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], dx
mov byte [0x4706f6], bl
push str._UNHANDLED_EXCEPTION_
call fcn.00425590
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp dword [0x470734], ebx
je 0x428307
push 0x470710
call esi
mov eax, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45f374
mov dword [0x4706f0], 1
mov word [0x4706f4], ax
mov byte [0x4706f6], bl
push 0x45d498
call fcn.00425590
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x684]
cmp eax, ebx
jne 0x428346
mov eax, dword [ebp - 0x688]
cmp eax, 0xffffffff
je 0x428373
cmp eax, ebx
je 0x428373
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov eax, dword [ebp - 0x684]
cmp eax, ebx
je 0x428379
jmp 0x42834c
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
dec dword [eax]
jne 0x428379
mov eax, dword [ebp - 0x688]
cmp eax, 0xffffffff
je 0x428362
cmp eax, ebx
je 0x428362
push eax
call esi
mov ecx, dword [ebp - 0x684]
push ecx
call fcn.0043266a
add esp, 4
jmp 0x428379
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x684], ebx
mov dword [ebp - 0x688], 0xffffffff
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x66c]
cmp eax, ebx
jne 0x4283b3
mov eax, dword [ebp - 0x670]
cmp eax, 0xffffffff
je 0x4283d8
cmp eax, ebx
je 0x4283d8
push eax
call esi
mov eax, dword [ebp - 0x66c]
cmp eax, ebx
je 0x4283d8
dec dword [eax]
jne 0x4283d8
mov eax, dword [ebp - 0x670]
cmp eax, 0xffffffff
je 0x4283c9
cmp eax, ebx
je 0x4283c9
push eax
call esi
mov edx, dword [ebp - 0x66c]
push edx
call fcn.0043266a
add esp, 4
mov dword [ebp - 0x66c], ebx
mov dword [ebp - 0x670], 0xffffffff
mov byte [ebp - 4], 5
mov esi, 8
cmp dword [ebp - 0x58], esi
jb 0x428402
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0043266a
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x6c], cx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x3c], esi
jb 0x428428
mov edx, dword [ebp - 0x50]
push edx
call fcn.0043266a
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x74], esi
jb 0x42844f
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.0043266a
add esp, 4
xor edx, edx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], ebx
mov word [ebp - 0x88], dx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00432675
mov esp, ebp
pop ebp
ret