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

Disassembly:
push 0xffffffffffffffff
push 0x5a0559
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5f4964]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4964]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, dword [esp + 0x90]
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x94]
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x10]
push ecx
push eax
push edi
call fcn.00564f40
add esp, 0xc
test al, al
jne 0x565636
push 0x39
push str......._srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [esp + 0x44]
mov byte [esp + 0x23], bl
call fcn.00505b20
mov esi, dword [esi + 0x10]
push esi
push str.File_already_exists_in_database:
mov ecx, eax
mov dword [esp + 0x90], ebx
call fcn.00505dd0
mov ecx, eax
call fcn.00505db0
push eax
lea ecx, [esp + 0x1b]
call fcn.00506160
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], 0xffffffff
call fcn.00505b50
xor al, al
jmp 0x56591e
mov edx, dword [esi + 8]
shr edx, 1
mov ebp, 0xf
test dl, 1
je 0x56564a
mov eax, dword [esi + 0x14]
jmp 0x56566a
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov ebx, 1
lea eax, [esp + 0x38]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x18], ebx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
call fcn.00404c50
mov dword [esp + 0x88], 3
test bl, 1
je 0x5656c4
cmp dword [esp + 0x50], 0x10
jb 0x5656b3
mov eax, dword [esp + 0x3c]
push eax
call fcn.0056a760
add esp, 4
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x74], 0
je 0x5656d8
push 0x2e
push 1
lea ecx, [esp + 0x68]
call fcn.0040b3f0
xor ebp, ebp
cmp dword [esi + 0x44], ebp
jle 0x56577a
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + ebp*4 + 4]
mov eax, dword [eax + 0x10]
push eax
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0043b4c0
add esp, 0xc
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push ecx
push edx
push eax
mov ecx, edi
mov byte [esp + 0x94], 6
call fcn.00564c10
test al, al
sete bl
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x88], 3
jb 0x565741
mov eax, dword [esp + 0x20]
push eax
call fcn.0056a760
add esp, 4
test bl, bl
jne 0x565942
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + ebp*4 + 4]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push edx
push ecx
push eax
mov ecx, edi
call fcn.00565320
test al, al
je 0x56595a
inc ebp
cmp ebp, dword [esi + 0x44]
jl 0x5656e3
xor ebp, ebp
cmp dword [esi + 0x54], ebp
jle 0x5657ed
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx + ebp*4 + 4]
mov eax, dword [eax + 0x10]
push eax
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0043b4c0
add esp, 0xc
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push ecx
push edx
push eax
mov ecx, edi
mov byte [esp + 0x94], 0xb
call fcn.00564c10
test al, al
sete bl
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x88], 3
jb 0x5657df
mov eax, dword [esp + 0x20]
push eax
call fcn.0056a760
add esp, 4
test bl, bl
jne 0x565972
inc ebp
cmp ebp, dword [esi + 0x54]
jl 0x565781
xor ebp, ebp
cmp dword [esi + 0x74], ebp
jle 0x565897
jmp 0x565800
mov edx, dword [esi + 0x7c]
mov eax, dword [edx + ebp*4 + 4]
mov eax, dword [eax + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0043b4c0
add esp, 0xc
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push edx
push ecx
push eax
mov ecx, edi
mov byte [esp + 0x94], 0xe
call fcn.00564c10
test al, al
sete bl
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x88], 3
jb 0x56585e
mov edx, dword [esp + 0x20]
push edx
call fcn.0056a760
add esp, 4
test bl, bl
jne 0x56595a
mov ecx, dword [esp + 0x98]
mov eax, dword [esi + 0x7c]
mov edx, dword [esp + 0x94]
mov eax, dword [eax + ebp*4 + 4]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00565190
test al, al
je 0x565972
inc ebp
cmp ebp, dword [esi + 0x74]
jl 0x565800
xor ebp, ebp
cmp dword [esi + 0x64], ebp
jle 0x565908
mov edi, edi
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + ebp*4 + 4]
mov eax, dword [eax + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0043b4c0
add esp, 0xc
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push edx
push ecx
push eax
mov ecx, edi
mov byte [esp + 0x94], 0x13
call fcn.00564c10
test al, al
sete bl
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x88], 3
jb 0x5658fe
mov edx, dword [esp + 0x20]
push edx
call fcn.0056a760
add esp, 4
test bl, bl
jne 0x56595a
inc ebp
cmp ebp, dword [esi + 0x64]
jl 0x5658a0
cmp dword [esp + 0x78], 0x10
jb 0x56591c
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0056a760
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0056ab51
add esp, 0x78
ret 0xc
cmp dword [esp + 0x78], 0x10
jb 0x565956
mov edx, dword [esp + 0x64]
push edx
call fcn.0056a760
add esp, 4
xor al, al
jmp 0x56591e
cmp dword [esp + 0x78], 0x10
jb 0x565956
mov eax, dword [esp + 0x64]
push eax
call fcn.0056a760
add esp, 4
xor al, al
jmp 0x56591e
cmp dword [esp + 0x78], 0x10
jb 0x565956
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0056a760
add esp, 4
xor al, al
jmp 0x56591e