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

Disassembly:
push 0xffffffffffffffff
push 0x63a209
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6f7654]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f7654]
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 + 0x78]
push ecx
push eax
push edi
call fcn.005939e0
add esp, 0xc
test al, al
jne 0x5940d6
push 0x39
push str..._srcgoogleprotobufdescriptor_database.cc
push 2
lea ecx, [esp + 0x44]
mov byte [esp + 0x23], bl
call fcn.00529570
mov esi, dword [esi + 0x78]
push esi
push str.File_already_exists_in_database:
mov ecx, eax
mov dword [esp + 0x90], ebx
call fcn.00529820
mov ecx, eax
call fcn.00529800
push eax
lea ecx, [esp + 0x1b]
call fcn.00529bb0
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], 0xffffffff
call fcn.005295a0
xor al, al
jmp 0x5943be
mov edx, dword [esi + 8]
shr edx, 1
mov ebp, 0xf
test dl, 1
je 0x5940ea
mov eax, dword [esi + 0x7c]
jmp 0x59410a
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.00402e40
mov dword [esp + 0x88], 3
test bl, 1
je 0x594164
cmp dword [esp + 0x50], 0x10
jb 0x594153
mov eax, dword [esp + 0x3c]
push eax
call fcn.005ea386
add esp, 4
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x74], 0
je 0x594178
push 0x2e
push 1
lea ecx, [esp + 0x68]
call fcn.00409090
xor ebp, ebp
cmp dword [esi + 0x3c], ebp
jle 0x59421d
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx + ebp*4 + 4]
mov eax, dword [eax + 0x90]
push eax
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004a62b0
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.005936b0
test al, al
sete bl
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x88], 3
jb 0x5941e4
mov eax, dword [esp + 0x20]
push eax
call fcn.005ea386
add esp, 4
test bl, bl
jne 0x5943e2
mov ecx, dword [esi + 0x44]
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.00593dc0
test al, al
je 0x5943fa
inc ebp
cmp ebp, dword [esi + 0x3c]
jl 0x594183
xor ebp, ebp
cmp dword [esi + 0x4c], ebp
jle 0x594290
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + ebp*4 + 4]
mov eax, dword [eax + 0x20]
push eax
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004a62b0
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.005936b0
test al, al
sete bl
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x88], 3
jb 0x594282
mov eax, dword [esp + 0x20]
push eax
call fcn.005ea386
add esp, 4
test bl, bl
jne 0x594412
inc ebp
cmp ebp, dword [esi + 0x4c]
jl 0x594224
xor ebp, ebp
cmp dword [esi + 0x6c], ebp
jle 0x594337
jmp 0x5942a0
mov edx, dword [esi + 0x74]
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.004a62b0
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.005936b0
test al, al
sete bl
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x88], 3
jb 0x5942fe
mov edx, dword [esp + 0x20]
push edx
call fcn.005ea386
add esp, 4
test bl, bl
jne 0x5943fa
mov ecx, dword [esp + 0x98]
mov eax, dword [esi + 0x74]
mov edx, dword [esp + 0x94]
mov eax, dword [eax + ebp*4 + 4]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00593c30
test al, al
je 0x594412
inc ebp
cmp ebp, dword [esi + 0x6c]
jl 0x5942a0
xor ebp, ebp
cmp dword [esi + 0x5c], ebp
jle 0x5943a8
mov edi, edi
mov edx, dword [esi + 0x64]
mov eax, dword [edx + ebp*4 + 4]
mov eax, dword [eax + 0x20]
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004a62b0
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.005936b0
test al, al
sete bl
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x88], 3
jb 0x59439e
mov edx, dword [esp + 0x20]
push edx
call fcn.005ea386
add esp, 4
test bl, bl
jne 0x5943fa
inc ebp
cmp ebp, dword [esi + 0x5c]
jl 0x594340
cmp dword [esp + 0x78], 0x10
jb 0x5943bc
mov ecx, dword [esp + 0x64]
push ecx
call fcn.005ea386
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.005ea848
add esp, 0x78
ret 0xc
cmp dword [esp + 0x78], 0x10
jb 0x5943f6
mov edx, dword [esp + 0x64]
push edx
call fcn.005ea386
add esp, 4
xor al, al
jmp 0x5943be
cmp dword [esp + 0x78], 0x10
jb 0x5943f6
mov eax, dword [esp + 0x64]
push eax
call fcn.005ea386
add esp, 4
xor al, al
jmp 0x5943be
cmp dword [esp + 0x78], 0x10
jb 0x5943f6
mov ecx, dword [esp + 0x64]
push ecx
call fcn.005ea386
add esp, 4
xor al, al
jmp 0x5943be