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

Disassembly:
push 0xffffffffffffffff
push 0x706f7f
mov eax, dword fs:[0]
push eax
mov eax, 0x10dc
call fcn.006d2420
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x10d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x10f0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
cmp dword [0x82e960], 0
mov eax, dword [esp + 0x1100]
mov dword [esp + 0x20], eax
je 0x5dcb8e
cmp dword [edi + 0x48], 0xffffffff
jne 0x5dcb8e
push str.cant_read_closed_file
push str.m_file.IsOpened__
push str.wxTextFile::OnRead
push 0x5b
push str....._srccommon_textfile.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x5dcb8e
mov byte [0x87c8e0], 0
int3
xor ebp, ebp
call fcn.005c92f0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10f8], ebp
call fcn.005c92f0
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10f8], 1
cmp dword [0x87e974], ebp
je 0x5dcbd8
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x87e974]
je 0x5dcbd8
push ebp
call fcn.005e3e40
add esp, 4
mov bl, al
jmp 0x5dcbe5
mov bl, byte [0x82e9e4]
mov byte [0x82e9e4], 0
mov byte [esp + 0x28], bl
mov byte [esp + 0x27], bl
add edi, 0x48
mov byte [esp + 0x10f8], 2
mov ecx, edi
call fcn.005dae60
cmp dword [0x87e974], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edx
mov byte [esp + 0x10f8], 1
je 0x5dcc33
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x87e974]
je 0x5dcc33
push dword [esp + 0x28]
call fcn.005e3e40
add esp, 4
jmp 0x5dcc39
mov byte [0x82e9e4], bl
mov ecx, dword [esp + 0x1c]
mov eax, ecx
mov edx, dword [esp + 0x2c]
and eax, edx
cmp eax, 0xffffffff
je 0x5dcfa3
mov eax, ecx
or eax, edx
je 0x5dcfa3
mov ebp, ecx
push ecx
lea ecx, [esp + 0x18]
call fcn.004dea70
test al, al
je 0x5dcf31
cmp dword [0x82e960], 0
je 0x5dccaf
mov ecx, edi
call fcn.005dbd80
or eax, edx
je 0x5dccaf
push str.should_be_at_start_of_file
push str.m_file.Tell____0
push str.wxTextFile::OnRead
push 0x7e
push str....._srccommon_textfile.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x5dccaf
mov byte [0x87c8e0], 0
int3
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edi, ecx
mov ebx, dword [esi]
test ecx, ecx
je 0x5dccef
nop
mov ecx, dword [esp + 0x18]
mov eax, 0x1000
cmp edi, eax
cmovb eax, edi
push eax
push ebx
lea ecx, [ecx + 0x48]
call fcn.005db7f0
cmp eax, 0xffffffff
je 0x5dcf35
test eax, eax
je 0x5dcceb
add ebx, eax
sub edi, eax
jne 0x5dccc0
mov ecx, dword [esp + 0x1c]
cmp dword [0x82e960], 0
je 0x5dcd37
sub ebx, dword [esi]
mov eax, ebx
cdq
cmp eax, ecx
jne 0x5dcd05
test edx, edx
je 0x5dcd37
push 0x754f7c
push str.dst___buf.data_____wxFileOffset_bufSize
push str.wxTextFile::OnRead
push 0x9e
push str....._srccommon_textfile.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x5dcd37
mov byte [0x87c8e0], 0
int3
push ebp
push dword [esp + 0x24]
lea ecx, [esp + 0x6c]
push dword [esi]
call fcn.004290e0
mov byte [esp + 0x10f8], 3
cmp ebp, 4
jbe 0x5dd02b
cmp dword [esp + 0x74], 0
jne 0x5dd02b
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5dcf2a
push str.Failed_to_convert_file___s__to_Unicode.
lea ecx, [esp + 0x88]
call fcn.00418040
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x5c], eax
mov byte [esp + 0x10f8], 5
call fcn.005eae80
test eax, eax
je 0x5dcddb
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x88]
push ecx
mov ecx, eax
call fcn.005ecae0
mov edi, eax
test edi, edi
jne 0x5dcded
lea eax, [esp + 0x84]
push eax
call fcn.005ed1e0
add esp, 4
mov edi, eax
call fcn.005c92f0
mov dword [esp + 0x30], eax
mov byte [esp + 0x10f8], 6
call fcn.005c92f0
mov dword [esp + 0x34], eax
mov byte [esp + 0x10f8], 7
call fcn.005c92f0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0
sub esp, 0x20
mov byte [esp + 0x1118], 8
mov edi, esp
mov dword [esp + 0x40], esp
xor eax, eax
mov ecx, edi
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov eax, dword [esp + 0x40]
add eax, 4
push eax
call fcn.00419170
mov dword [edi + 0x18], 0
push 0x721844
push str.wxTextFile::OnRead
push 0xc8
push str....._srccommon_textfile.cpp
push 1
lea ecx, [esp + 0xd8]
mov byte [esp + 0x112c], 9
call fcn.00439de0
mov byte [esp + 0x1118], 0xa
lea ecx, [esp + 0x50]
mov byte [esp + 0x1118], 0xb
push ecx
mov ecx, eax
call fcn.00482da0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x10f8], 8
call fcn.0043f270
lea ecx, [esp + 0x30]
mov byte [esp + 0x10f8], 5
call fcn.00420020
push dword [esp + 0x5c]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
call ebx
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x5dceee
push dword [esp + 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x9c]
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call ebx
add esp, 4
cmp dword [esp + 0x98], 8
jb 0x5dcf2a
push dword [esp + 0x84]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor bl, bl
jmp 0x5dd1a8
mov esi, dword [esp + 0x14]
xor bl, bl
mov ebp, dword [sym.imp.MSVCR120.dll_free]
mov dword [esp + 0x10f8], 0xffffffff
call fcn.005c92f0
cmp esi, eax
je 0x5dcf77
mov eax, 0xffff
add word [esi + 8], ax
jne 0x5dcf72
cmp byte [esi + 0xa], 0
je 0x5dcf69
push dword [esi]
call ebp
add esp, 4
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
call fcn.005c92f0
mov al, bl
mov ecx, dword [esp + 0x10f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10d8]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x10e8
ret 4
push 0x1000
lea eax, [esp + 0xf0]
mov ecx, edi
push eax
call fcn.005db7f0
mov edi, eax
cmp edi, 0xffffffff
je 0x5dcf35
test edi, edi
je 0x5dd01c
lea ebx, [edi + ebp]
push ebx
lea ecx, [esp + 0x18]
call fcn.004dea70
mov esi, dword [esp + 0x14]
test al, al
je 0x5dcf35
mov eax, dword [esi]
lea ecx, [esp + 0xec]
push edi
push ecx
add eax, ebp
push eax
call sub.MSVCR120.dll_memcpy
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xf8]
add esp, 0xc
mov ebp, ebx
lea ecx, [ecx + 0x48]
push 0x1000
push eax
call fcn.005db7f0
mov edi, eax
cmp edi, 0xffffffff
jne 0x5dcfc2
jmp 0x5dcf35
test ebp, ebp
jne 0x5dcd37
mov bl, 1
jmp 0x5dcf37
lea ecx, [esp + 0x14]
call fcn.004835a0
cmp dword [esp + 0x78], 8
lea edx, [esp + 0x64]
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x64]
cmovae edx, dword [esp + 0x64]
cmovae eax, dword [esp + 0x64]
mov esi, eax
lea edi, [edx + ecx*2]
cmp eax, edi
je 0x5dd1a2
lea ebx, [eax + 2]
nop
movzx ecx, word [esi]
cmp ecx, 0xd
je 0x5dd076
cmp ecx, 0xa
jne 0x5dd11b
lea ebp, [ecx - 9]
jmp 0x5dd08a
cmp ebx, edi
je 0x5dd085
cmp word [ebx], 0xa
mov ebp, 2
je 0x5dd08a
mov ebp, 3
xor ecx, ecx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], cx
cmp eax, esi
je 0x5dd0b6
mov ecx, esi
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00419290
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push 1
push eax
mov byte [esp + 0x1100], 0xc
lea ecx, [ecx + 0x30]
call fcn.005d8e70
mov ecx, dword [esp + 0x18]
push 1
push ebp
lea ecx, [ecx + 0x24]
call fcn.005dd8a0
push dword [esp + 0x5c]
mov byte [esp + 0x10fc], 3
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x5dd110
push dword [esp + 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp ebp, 2
jne 0x5dd119
add esi, ebp
add ebx, ebp
mov eax, ebx
add esi, 2
add ebx, 2
cmp esi, edi
jne 0x5dd060
cmp eax, edi
je 0x5dd1a2
sub edi, eax
mov dword [esp + 0x58], 7
xor ecx, ecx
sar edi, 1
push edi
mov word [esp + 0x48], cx
lea ecx, [esp + 0x48]
push eax
mov dword [esp + 0x5c], 0
call fcn.00419290
mov dword [esp + 0x5c], 0
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push 1
push eax
mov byte [esp + 0x1100], 0xd
lea ecx, [ebx + 0x30]
call fcn.005d8e70
push 1
push 0
lea ecx, [ebx + 0x24]
call fcn.005dd8a0
push dword [esp + 0x5c]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x5dd1a2
push dword [esp + 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x14]
mov bl, 1
push dword [esp + 0x7c]
mov ebp, dword [sym.imp.MSVCR120.dll_free]
call ebp
add esp, 4
cmp dword [esp + 0x78], 8
jb 0x5dd1ca
push dword [esp + 0x64]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
jmp 0x5dcf3d