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

Disassembly:
push ebp
sub esp, 0x68
lea edx, [esp + 0x2c]
mov dword [esp + 0x44], 0x567468
lea eax, [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 0x48], 0x5c0878
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x5a5e52
mov dword [esp + 0x54], esp
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Register
mov ecx, dword [esp + 0x74]
cmp dword [esp + 0x70], ecx
je 0x5a5e20
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
add edx, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
jmp 0x5a5dcc
cmp eax, 0x3fffffff
ja 0x5a5e45
shl eax, 2
mov dword [esp + 0x30], 2
mov dword [esp], eax
mov dword [esp + 0x20], eax
call sub.libstdc_6.dll_operator_new_unsigned_int_
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
add eax, edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, edx
sar eax, 2
test eax, eax
je 0x5a5d96
shl eax, 2
mov dword [esp + 4], edx
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub eax, dword [esp + 0x78]
add edx, dword [esp + 0x20]
mov dword [ecx + eax + 4], edx
add dword [esp + 0x10], 0x10
add dword [esp + 0x14], 0x10
add dword [esp + 0x18], 0x10
add dword [esp + 0x1c], 0x10
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x74], edx
je 0x5a5e30
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5a5dae
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [eax], 0x634ee8
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
sar eax, 2
test eax, eax
jne 0x5a5d20
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
jmp 0x5a5d46
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], ecx
nop
lea esi, [esi]
lea edx, [esp + 0x2c]
mov dword [esp], edx
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Unregister
mov eax, dword [esp + 0x14]
add esp, 0x68
pop ebp
ret
mov dword [esp + 0x30], 2
call fcn.00567510
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5a5e69
cmp eax, 1
je 0x5a5e8a
ud2
mov dword [esp + 0x30], 0
call sub.libstdc_6.dll___cxa_end_catch
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp], edx
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Resume
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [eax], vtable.1ASN1_StringE.0
mov dword [esp], edx
call sub.libstdc_6.dll___cxa_begin_catch
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x78], eax
je 0x5a5ecc
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], 1
call eax
add dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x78], eax
jne 0x5a5eaa
mov dword [esp + 0x30], 1
call sub.libstdc_6.dll___cxa_rethrow
nop
nop
nop
nop
nop
nop
nop