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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x511080]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov edi, ecx
mov byte [esp + 0x13], dl
mov dword [esp + 0x20], edi
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov al, byte [edi]
test al, al
je 0x43b1de
cmp al, 3
jb 0x43b22e
call fcn.00430270
test eax, eax
jne 0x43b750
cmp byte [edi], al
jne 0x43b750
mov ebx, dword [edi + 0x74]
movsx eax, byte [edi + 0x44]
movzx ecx, word [edi + 0x46]
mov dword [esp + 0x24], eax
movzx eax, word [ebx + 0x18]
mov dword [esp + 0x28], ecx
cmp eax, ecx
ja 0x43b263
push 0x50c3cc
push 0x12ed4
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041bb20
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
push 0x50c3cc
push 0x12ecb
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041bb20
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebx + 0x38]
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x1c], ecx
jge 0x43b2c8
mov ecx, ebx
call fcn.004317b0
test eax, eax
je 0x43b2c4
push 0x50c3cc
push 0x12ed8
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041bb20
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
mov al, byte [esp + 0x13]
shr al, 1
and al, 1
mov byte [esp + 0x13], al
je 0x43b324
cmp byte [ebx + 8], 0
je 0x43b315
mov eax, dword [ebx + 0x4c]
push ecx
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 8
movzx esi, ax
mov eax, 0xaaaaaaab
mov ecx, dword [ecx + 0x28]
add ecx, ecx
mul ecx
mov eax, dword [ebx + 0x14]
add eax, 2
shr edx, 1
add eax, esi
cmp eax, edx
jg 0x43b315
cmp word [ebx + 0x18], 1
je 0x43b315
mov byte [esp + 0x13], 2
jmp 0x43b324
mov ecx, edi
call fcn.0042ff50
test eax, eax
jne 0x43b750
cmp byte [ebx + 8], 0
jne 0x43b362
and byte [edi + 1], 0xf1
xor eax, eax
mov word [edi + 0x32], ax
cmp byte [edi], al
jne 0x43b353
movzx ecx, word [edi + 0x46]
test cx, cx
je 0x43b353
mov eax, dword [edi + 0x74]
cmp byte [eax + 8], 0
je 0x43b353
lea eax, [ecx - 1]
mov word [edi + 0x46], ax
jmp 0x43b362
mov ecx, edi
call fcn.00436460
test eax, eax
jne 0x43b750
test byte [edi + 1], 0x20
je 0x43b396
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x40]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x43b392
cmp ecx, edi
je 0x43b38b
test edx, edx
je 0x43b409
cmp dword [ecx + 0x40], edx
je 0x43b409
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x43b376
and byte [edi + 1], 0xdf
cmp dword [edi + 0x70], 0
jne 0x43b3e8
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb], 0
je 0x43b3e8
mov edx, dword [edi + 0x20]
mov esi, dword [edi + 0x24]
mov ecx, dword [edi + 0x40]
mov byte [eax + 0xb], 0
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x43b3e8
mov edi, dword [esp + 0x14]
test byte [eax + 1], 0x10
je 0x43b3dd
mov byte [edi + 0xb], 1
cmp dword [eax + 0x40], ecx
jne 0x43b3dd
cmp dword [eax + 0x20], edx
jne 0x43b3dd
cmp dword [eax + 0x24], esi
jne 0x43b3dd
mov byte [eax], 1
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x43b3c1
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x43b430
mov eax, dword [edx + 0x1c]
cmp eax, dword [ecx + 0x18]
jb 0x43b430
cmp dword [edx + 0x68], 0
je 0x43b45d
call fcn.00429d60
jmp 0x43b455
test ecx, ecx
je 0x43b392
push edi
call fcn.00430050
add esp, 4
test eax, eax
je 0x43b396
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x2c]
test eax, eax
jne 0x43b750
mov eax, dword [edx + 0x9c]
cmp eax, dword [edx + 0xa8]
jbe 0x43b450
call fcn.0042b8d0
jmp 0x43b455
call fcn.0042b800
test eax, eax
jne 0x43b750
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebx + 0x50]
push esi
push ebx
call eax
movzx eax, word [esp + 0x4c]
add esp, 0xc
cmp eax, dword [esp + 0x3c]
je 0x43b48e
lea eax, [esp + 0x30]
mov edx, esi
push eax
mov ecx, ebx
call fcn.00437530
add esp, 4
jmp 0x43b490
xor eax, eax
mov edx, dword [esp + 0x28]
mov ecx, ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
movzx eax, word [esp + 0x46]
push eax
call fcn.00437ab0
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x43b750
cmp byte [ebx + 8], al
jne 0x43b619
mov esi, dword [edi + 0x74]
cmp dword [esi + 0x14], eax
jge 0x43b4d9
mov ecx, esi
call fcn.004317b0
test eax, eax
jne 0x43b750
movsx eax, byte [edi + 0x44]
mov ecx, dword [esp + 0x24]
dec eax
cmp ecx, eax
jge 0x43b4ec
mov eax, dword [edi + ecx*4 + 0x7c]
jmp 0x43b4ef
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 4]
movzx ecx, word [esi + 0x18]
mov edx, dword [esi + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [esi + 0x1a]
movzx ecx, cx
and ecx, eax
lea eax, [edx + 4]
add ecx, edx
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jae 0x43b554
push 0x50c3cc
push 0x12f33
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041bb20
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x4c]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x48]
add esp, 8
movzx eax, ax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x18], eax
je 0x43b59b
mov eax, dword [edx + 0x1c]
cmp eax, dword [ecx + 0x18]
jb 0x43b59b
cmp dword [edx + 0x68], 0
je 0x43b591
call fcn.00429d60
jmp 0x43b5c2
mov dword [esp + 0x14], 0
jmp 0x43b5ca
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x43b5a8
mov dword [esp + 0x14], eax
jmp 0x43b5f5
mov eax, dword [edx + 0x9c]
cmp eax, dword [edx + 0xa8]
jbe 0x43b5bd
call fcn.0042b8d0
jmp 0x43b5c2
call fcn.0042b800
mov dword [esp + 0x14], eax
test eax, eax
jne 0x43b5f5
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, ebx
push dword [esp + 0x20]
add eax, 4
push eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffffc
push eax
call fcn.00437bd0
add esp, 0x14
movzx edx, word [esi + 0x18]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
dec edx
mov ecx, esi
call fcn.00437ab0
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x43b750
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 0x14]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x28]
add eax, eax
cmp ecx, eax
jg 0x43b632
xor esi, esi
jmp 0x43b643
mov ecx, edi
call fcn.0043a120
mov esi, eax
test esi, esi
jne 0x43b74e
movsx eax, byte [edi + 0x44]
mov edx, esi
mov ecx, esi
mov dword [esp + 0x2c], esi
cmp eax, dword [esp + 0x24]
jle 0x43b6c8
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x43b668
call fcn.00429570
jmp 0x43b66d
call fcn.00425530
mov cl, byte [edi + 0x44]
mov esi, dword [esp + 0x24]
dec cl
movsx eax, cl
mov byte [edi + 0x44], cl
cmp eax, esi
jle 0x43b6af
movsx eax, cl
dec cl
mov eax, dword [edi + eax*4 + 0x78]
mov byte [edi + 0x44], cl
test eax, eax
je 0x43b6a5
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x43b6a0
call fcn.00429570
jmp 0x43b6a5
call fcn.00425530
mov cl, byte [edi + 0x44]
movsx eax, cl
cmp eax, esi
jg 0x43b680
movsx eax, cl
mov ecx, edi
mov eax, dword [edi + eax*4 + 0x78]
mov dword [edi + 0x74], eax
call fcn.0043a120
mov esi, eax
mov edx, esi
mov ecx, esi
jmp 0x43b6cc
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x43b74e
cmp byte [esp + 0x13], 1
jbe 0x43b72c
mov byte [edi], 2
movzx eax, word [ebx + 0x18]
cmp dword [esp + 0x28], eax
jb 0x43b70f
mov dword [edi + 4], 0xffffffff
mov esi, edx
mov ax, word [ebx + 0x18]
dec ax
mov word [edi + 0x46], ax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
mov esi, ecx
mov dword [edi + 4], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00435540
cmp byte [esp + 0x13], 0
mov esi, eax
je 0x43b746
mov ecx, edi
call fcn.0042fee0
mov byte [edi], 3
xor eax, eax
cmp esi, 0x10
cmove esi, eax
mov eax, esi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret