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

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x78]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x5c], ebx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x60], esi
mov ecx, dword [esp + 0x74]
cmp eax, 0xa
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x68], ebp
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x34], edi
je 0x59d1f0
cmp eax, 0x10
je 0x59d1b1
cmp eax, 8
je 0x59d154
mov dword [esp + 8], str.failed_internal_consistency_check
mov dword [esp + 4], 0xc31
mov dword [esp], str._home_build_work_GCC_4_8_build_src_gdb_gdb_utils.c
call fcn.0059c0c0
mov eax, dword [0x85f784]
mov esi, edx
mov edi, ecx
add eax, 1
cmp eax, 0xf
mov dword [0x85f784], eax
jg 0x59d240
imul eax, eax, 0x32
lea ebp, [eax + 0x85f7a0]
xor eax, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov edx, esi
and edx, 0x3fffffff
mov dword [esp + eax*4 + 0x44], edx
add eax, 1
shrd esi, edi, 0x1e
shr edi, 0x1e
cmp eax, 2
lea edx, [ebx - 0xa]
ja 0x59d254
mov ecx, esi
or ecx, edi
je 0x59d254
mov ebx, edx
jmp 0x59d181
test ebx, ebx
je 0x59d230
mov dword [esp + 8], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0059cf90
mov ebp, eax
mov ecx, dword [esp + 0x34]
lea eax, [ebp + 2]
test ecx, ecx
cmove ebp, eax
mov eax, ebp
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
add esp, 0x6c
ret
test esi, esi
je 0x59d225
mov eax, ecx
shr eax, 0x1f
test al, al
je 0x59d225
neg edx
mov eax, 0x732e0e
adc ecx, 0
neg ecx
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
add esp, 0x6c
jmp 0x59c0f0
mov dword [esp + 0x70], ebx
mov eax, 0x732525
jmp 0x59d20d
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0059ced0
mov ebp, eax
jmp 0x59d1c7
mov dword [0x85f784], 0
mov ebp, 0x85f7a0
jmp 0x59d177
xor esi, esi
test ebx, ebx
mov edx, dword [esp + 0x38]
cmovns esi, ebx
cmp eax, 2
mov ecx, dword [esp + 0x3c]
je 0x59d292
cmp eax, 3
je 0x59d330
cmp eax, 1
je 0x59d2f0
mov dword [esp + 8], str.failed_internal_consistency_check
mov dword [esp + 4], 0xb8a
mov dword [esp], str._home_build_work_GCC_4_8_build_src_gdb_gdb_utils.c
call fcn.0059c0c0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], str.0_0lo_010lo
mov dword [esp + 4], 0x32
mov dword [esp], ebp
mov dword [esp + 0x10], eax
call fcn.005c2fe0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x59d1d3
mov edi, edx
or edi, ecx
sete al
cmp al, 1
adc ebp, 0
jmp 0x59d1d3
mov eax, dword [esp + 0x44]
test eax, eax
je 0x59d380
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.0_0lo
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 4], 0x32
mov dword [esp], ebp
call fcn.005c2fe0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
jmp 0x59d2ce
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], str.0_0lo_010lo_010lo
mov dword [esp + 4], 0x32
mov dword [esp], ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
call fcn.005c2fe0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
jmp 0x59d2ce
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x732e72
jmp 0x59d30c