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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [esp + 4], eax
mov dword [esp], 0x4bd050
call fcn.0048e4f0
mov dword [ebp - 0x70], eax
mov eax, dword [0x8671f8]
mov ebx, dword [eax + 0x20]
test ebx, ebx
jne 0x4c07aa
jmp 0x4c0bb0
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0bb0
mov eax, dword [ebx + 0x24]
test eax, eax
nop
je 0x4c07a0
mov esi, dword [ebx + 0x4080]
test esi, esi
jne 0x4c07a0
mov eax, dword [eax + 0x90]
test eax, eax
je 0x4c0c30
lea edx, [ebp - 0x50]
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__stati64]
test eax, eax
jne 0x4c0c14
mov eax, dword [ebp - 0x2c]
cmp dword [ebx + 0x30], eax
mov dword [ebp - 0x64], eax
je 0x4c07a0
mov eax, dword [ebx + 4]
mov dword [esp], str.__s_has_changed__re_reading_symbols._n
mov dword [esp + 4], eax
call fcn.0059b030
mov dword [esp], ebx
call fcn.00515a30
mov dword [esp + 4], 0
mov dword [esp], 0x4bf2a0
mov dword [ebp - 0x6c], eax
call fcn.0048e4f0
mov eax, dword [0x8671f8]
mov eax, dword [eax + 8]
test eax, eax
je 0x4c084b
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00648fb0
test eax, eax
je 0x4c0cbc
mov dword [esp], ebx
call fcn.00515a00
mov dword [esp], ebx
call fcn.00498010
mov eax, dword [ebx + 0x4048]
test eax, eax
je 0x4c086b
mov dword [esp], ebx
call dword [eax + 0x14]
mov dword [esp], ebx
call fcn.005151c0
mov esi, dword [ebx + 0x24]
mov edi, dword [esi + 4]
mov dword [esp], edi
call fcn.004be260
test eax, eax
mov dword [ebx + 0x24], eax
mov dword [esp], esi
je 0x4c0d30
call fcn.004ff210
mov eax, dword [ebx + 0x24]
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.005e71c0
test eax, eax
je 0x4c0d71
mov edx, dword [ebx + 0x4060]
mov esi, edx
shl esi, 2
lea eax, [esi + 0x1e]
and eax, 0xfffffff0
mov dword [ebp - 0x68], edx
call fcn.0069df40
sub esp, eax
mov eax, dword [ebx + 0x405c]
lea edx, [esp + 0x23]
and edx, 0xfffffff0
mov dword [ebp - 0x60], edx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x4c08ff
mov dword [esp], eax
call fcn.005c2f40
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
test eax, eax
je 0x4c0923
mov dword [esp], eax
call fcn.005c2f40
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [esp], eax
call fcn.004bc5c0
call fcn.004bc580
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x4c0967
mov dword [esp], eax
call fcn.00649680
mov dword [ebx + 0x6c], 0
lea edx, [ebx + 0x3c]
lea edi, [ebx + 0x90]
mov dword [ebp - 0x5c], edx
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.00640310
test edi, 1
mov edx, 0x1fdc
mov dword [ebx + 0x4074], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x40a0], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
jne 0x4c0d0b
test edi, 2
jne 0x4c0cfb
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x4c09fa
mov word [edi], 0
add edi, 2
and edx, 1
je 0x4c0a02
mov byte [edi], 0
lea edi, [ebx + 0x206c]
mov edx, 0x1fdc
test edi, 1
jne 0x4c0ce7
test edi, 2
jne 0x4c0cd7
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x4c0a3b
mov word [edi], 0
add edi, 2
and edx, 1
je 0x4c0a43
mov byte [edi], 0
mov dword [esp], ebx
call fcn.00515230
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x10], fcn.005c2f40
mov dword [esp + 0xc], fcn.005c2e50
mov dword [esp + 8], 0
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.0063ffc0
mov dword [esp], ebx
call fcn.00515250
mov dword [esp], ebx
call fcn.005195d0
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
mov ecx, edx
sub ecx, eax
cmp esi, ecx
jg 0x4c0c48
mov ecx, dword [ebx + 0x44]
add eax, esi
mov dword [ebx + 0x48], eax
cmp eax, ecx
je 0x4c0c6d
mov edi, dword [ebx + 0x54]
add eax, edi
not edi
and eax, edi
mov edi, eax
sub edi, dword [ebx + 0x40]
mov dword [ebx + 0x48], eax
mov dword [ebp - 0x5c], edi
mov edi, edx
sub edi, dword [ebx + 0x40]
cmp dword [ebp - 0x5c], edi
jle 0x4c0acb
mov dword [ebx + 0x48], edx
mov eax, edx
mov edx, dword [ebp - 0x60]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x405c], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [0x8671f8]
mov edx, dword [ebp - 0x68]
cmp dword [eax + 0x1c], ebx
mov dword [ebx + 0x4060], edx
je 0x4c0d1f
mov eax, dword [ebx + 0x4048]
mov dword [esp], ebx
call dword [eax + 8]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], 0x6a9340
call fcn.00582490
xor edx, edx
mov eax, ebx
and word [ebx + 0xc], 0xffef
call fcn.004c06b0
mov dword [esp], ebx
call fcn.00515b20
test eax, eax
je 0x4c0c93
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x6a9340
call fcn.00582490
call fcn.005a0fd0
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.0048e670
mov edx, dword [ebp - 0x64]
mov eax, ebx
mov dword [ebx + 0x30], edx
call fcn.004bd9c0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c0c76
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp ecx, edx
je 0x4c0c76
cmp edx, ecx
jae 0x4c0d45
mov dword [eax + edx*4 + 8], ebx
mov ebx, dword [ebx]
lea ecx, [edx + 1]
mov dword [eax], ecx
test ebx, ebx
jne 0x4c07aa
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4c0c01
call fcn.005169b0
mov dword [esp], 0
call fcn.004bf240
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c0bfc
mov ecx, dword [eax]
xor edx, edx
xor ebx, ebx
test ecx, ecx
je 0x4c0bfc
lea esi, [esi]
mov eax, dword [eax + edx*4 + 8]
mov dword [esp], eax
call fcn.005172f0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c0bfc
add ebx, 1
cmp ebx, dword [eax]
mov edx, ebx
jb 0x4c0be0
call fcn.00517000
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call fcn.0048e650
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 4]
mov dword [esp], str.__s_has_disappeared__keeping_its_symbols._n
mov dword [esp + 4], eax
call fcn.0059b030
jmp 0x4c07a0
lea edi, [ebp - 0x50]
mov dword [esp + 4], edi
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__stati64]
jmp 0x4c07dd
mov edx, dword [ebp - 0x5c]
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.00640110
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x4c]
add eax, esi
cmp eax, ecx
mov dword [ebx + 0x48], eax
jne 0x4c0aa8
or byte [ebx + 0x64], 2
jmp 0x4c0aa8
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00575410
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4c0b95
mov dword [esp], 0x6f18ad
call fcn.0059b430
mov dword [esp], str._no_debugging_symbols_found__n
call fcn.0059b030
mov dword [esp], 0x6f18ad
call fcn.0059b430
jmp 0x4c0b44
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00512a40
jmp 0x4c084b
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x4c0a25
mov byte [ebx + 0x206c], 0
lea edi, [ebx + 0x206d]
mov dl, 0xdb
jmp 0x4c0a19
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x4c09e4
mov byte [ebx + 0x90], 0
lea edi, [ebx + 0x91]
mov dl, 0xdb
jmp 0x4c09d8
mov eax, dword [ebx + 0x4048]
mov dword [esp], ebx
call dword [eax + 4]
jmp 0x4c0afe
call fcn.00599fd0
mov dword [esp + 4], edi
mov dword [esp], str.Cant_open__s_to_read_symbols.
call fcn.0059a2d0
mov dword [esp + 0x10], 0x6f12ca
mov dword [esp + 0xc], str.VEC_objfilep_quick_push
mov dword [esp + 8], 0x6f12d5
mov dword [esp + 4], 0xa5c
mov dword [esp], str._home_build_work_GCC_4_8_build_src_gdb_gdb_symfile.c
call fcn.0059c0c0
call fcn.005e5b20
mov dword [esp], eax
call fcn.005e5b30
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], str.Cant_read_symbols_from__s:__s.
mov dword [esp + 4], eax
call fcn.0059a2d0
lea esi, [esi]
lea edi, [edi]
sub esp, 0x3c
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebp
call fcn.00598750
call fcn.00548980
call fcn.004c0760
test ebx, ebx
je 0x4c0df8
mov eax, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00507710
mov ebx, dword [esp + 0x2c]
mov dword [0x85184c], 1
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
add esp, 0x3c
ret
mov dword [esp], 1
xor esi, esi
call fcn.00548a80
mov ebx, eax
jmp 0x4c0e16
add eax, 1
add esi, 1
mov dword [esp + 4], str.__t
mov dword [esp], eax
call sub.msvcrt.dll_strpbrk
test eax, eax
jne 0x4c0e10
test esi, esi
je 0x4c0dca
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
lea eax, [esi + eax + 1]
mov dword [esp], eax
call fcn.005c2e50
mov dword [esp], fcn.005c2f40
mov ebp, eax
mov dword [esp + 4], eax
mov edi, ebp
call fcn.0048e4f0
mov eax, ebx
jmp 0x4c0e89
mov edx, esi
sub edx, ebx
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov ebx, esi
mov dword [esp], edi
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_strncpy
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
add edi, edx
mov byte [edi], 0x5c
add edi, 1
mov dword [esp + 4], str.__t
mov dword [esp], eax
call sub.msvcrt.dll_strpbrk
test eax, eax
mov esi, eax
jne 0x4c0e60
mov dword [esp + 4], ebx
mov ebx, ebp
mov dword [esp], edi
call sub.msvcrt.dll_strcpy
jmp 0x4c0dca