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

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov esi, eax
xor eax, eax
mov edi, ecx
mov ebx, dword [edi + 0x3c]
xor ebp, ebp
cmp byte [edi + 3], al
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
jne 0x55b1b6
lea ebp, [eax + 4]
cmp byte [edi + 4], al
je 0x55b1d7
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
add eax, ecx
cdq
push edx
push eax
lea ecx, [esi + ebp]
call fcn.00533900
add esp, 8
add ebp, eax
jmp 0x55b1df
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push eax
lea ecx, [esi + ebp]
call fcn.00533900
lea ecx, [esp + 0x34]
push ecx
push esi
push edi
add ebp, eax
call fcn.005374b0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
add esp, 0x14
cmp byte [edi + 2], 0
lea eax, [ecx + edx]
mov dword [esp + 0x14], eax
je 0x55b22f
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x18], edx
mov edx, ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], 0
jmp 0x55b268
cmp dword [esp + 0x58], 0
jg 0x55b4e8
mov ecx, dword [esp + 0x54]
jl 0x55b24c
cmp ecx, 0x7fffffff
ja 0x55b4e8
mov edx, dword [esp + 0x50]
test edx, edx
je 0x55b4e8
add eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x64], ecx
mov edx, ecx
movzx ecx, word [esp + 0x4a]
mov edi, dword [esp + 0x68]
mov dword [edi], ecx
movzx ecx, word [esp + 0x48]
movzx edi, word [esp + 0x46]
add ecx, esi
add ebp, esi
test eax, eax
mov dword [esp + 0x28], ecx
jle 0x55b4a8
jmp 0x55b298
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
test edi, edi
jne 0x55b41b
cmp byte [ebx + 0x14], 0
mov esi, dword [esp + 0x10]
mov ebp, esi
mov dword [esp + 0x24], ebp
je 0x55b31c
mov ebp, dword [0x65b34c]
lea edi, [esi - 2]
lea esp, [esp]
add esi, 1
add edi, 1
cmp esi, 2
mov dword [esp + 0x10], esi
jae 0x55b2d3
xor ecx, ecx
jmp 0x55b306
mov eax, 0xcccccccd
mul dword [ebx + 0x24]
mov esi, edx
shr esi, 2
xor edx, edx
add esi, 1
mov eax, edi
div esi
xor edx, edx
mov ecx, eax
mov eax, ebp
imul ecx, esi
div dword [ebx + 0x20]
add ecx, 2
add eax, 1
cmp ecx, eax
jne 0x55b302
add ecx, 1
mov esi, dword [esp + 0x10]
cmp ecx, esi
je 0x55b2c0
xor edx, edx
mov eax, ebp
div dword [ebx + 0x20]
add eax, 1
cmp esi, eax
je 0x55b2c0
mov ebp, dword [esp + 0x24]
push 0
push esi
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.0055a380
mov esi, dword [esp + 0x34]
add esp, 0x14
cmp byte [ebx + 0x14], 0
mov edi, eax
mov dword [esp + 0x24], edi
je 0x55b397
test edi, edi
jne 0x55b4b2
mov eax, dword [esp + 0x10]
test ebp, ebp
setne dl
add dl, 3
lea ecx, [esp + 0x24]
push ecx
push ebp
mov ecx, ebx
push edx
call fcn.005586c0
mov edi, dword [esp + 0x30]
add esp, 0xc
test edi, edi
je 0x55b39f
test esi, esi
je 0x55b397
mov eax, dword [esi + 0x44]
test eax, eax
je 0x55b397
mov ebp, dword [eax + 0x10]
call fcn.00534f40
mov eax, dword [ebp + 0xa8]
cmp dword [eax + 0xc], 0
jne 0x55b397
push ebp
call fcn.00557f50
add esp, 4
test edi, edi
jne 0x55b4b2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov byte [eax + 3], cl
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x55b3ed
mov eax, dword [eax + 0x44]
test eax, eax
je 0x55b3ed
mov edi, dword [eax + 0x10]
call fcn.00534f40
mov eax, dword [edi + 0xa8]
cmp dword [eax + 0xc], 0
jne 0x55b3ed
push edi
call fcn.00557f50
add esp, 4
mov eax, dword [esi + 0x40]
mov edx, dword [esp + 0x64]
mov byte [eax], 0
mov byte [eax + 1], 0
mov byte [eax + 2], 0
mov byte [eax + 3], 0
mov ebp, dword [esi + 0x40]
mov edi, dword [ebx + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
add ebp, 4
mov dword [esp + 0x1c], esi
sub edi, 4
cmp eax, edi
mov esi, eax
jle 0x55b423
mov esi, edi
test edx, edx
jle 0x55b43b
cmp esi, edx
jle 0x55b42d
mov esi, edx
mov ecx, dword [esp + 0x18]
push esi
push ecx
push ebp
call fcn.005b74f0
jmp 0x55b444
push esi
push 0
push ebp
call fcn.005b5540
mov eax, dword [esp + 0x70]
sub dword [esp + 0x20], esi
add dword [esp + 0x24], esi
sub eax, esi
add esp, 0xc
add ebp, esi
sub edi, esi
test eax, eax
mov dword [esp + 0x64], eax
jne 0x55b471
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x64], edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], 0
jg 0x55b290
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x55b4a8
mov eax, dword [eax + 0x44]
test eax, eax
je 0x55b4a8
mov esi, dword [eax + 0x10]
call fcn.00534f40
mov edx, dword [esi + 0xa8]
cmp dword [edx + 0xc], 0
jne 0x55b4a8
push esi
call fcn.00557f50
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x55b4de
mov eax, dword [eax + 0x44]
test eax, eax
je 0x55b4de
mov esi, dword [eax + 0x10]
call fcn.00534f40
mov ecx, dword [esi + 0xa8]
cmp dword [ecx + 0xc], 0
jne 0x55b4de
push esi
call fcn.00557f50
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0x5fd144
push 0xc25b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00545290
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x3c
ret