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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 8], esi
mov edx, dword [ebp + 8]
cmp byte [esi + 0x49], 1
mov dword [ebp - 0x18], edi
jne 0x43e4e0
mov bl, byte [esi + 0x48]
test bl, 2
je 0x43e4e0
mov eax, dword [esi + 0x78]
cmp byte [eax + 2], 0
je 0x43e4e0
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
cmp ecx, edx
jne 0x43e4be
cmp eax, dword [ebp + 0xc]
jne 0x43e4be
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, 8
je 0x43e4e0
cmp eax, dword [ebp + 0xc]
jg 0x43e4e0
jl 0x43e4ce
cmp ecx, edx
jae 0x43e4e0
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x43e4f4
mov ecx, edi
call fcn.0044a850
mov dword [ebp - 0x14], eax
mov byte [edi + 7], 0
jmp 0x43e4fb
mov dword [ebp - 0x14], 0
mov ecx, esi
call fcn.0043e140
test eax, eax
jne 0x43e8ea
cmp byte [esi + 0x49], al
je 0x43e4ce
mov edx, 1
sub edx, dword [ebp + 0x10]
mov dword [ebp - 0x28], edx
lea ebx, [ebx]
movsx eax, word [esi + 0x4c]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov ecx, edx
mov ebx, dword [esi + eax*4 + 0x78]
mov dword [ebp - 0xc], ebx
movzx esi, word [ebx + 0x12]
dec esi
mov edi, esi
mov dword [ebp - 0x20], esi
sar edi, cl
cmp dword [ebp - 0x14], 0
mov ecx, dword [ebp - 8]
mov word [ecx + eax*2 + 0x4e], di
jne 0x43e652
movzx ecx, byte [ebx + 7]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebx + 0x40]
mov dl, byte [ebx + 3]
movzx ecx, byte [eax + edi*2]
movzx eax, byte [eax + edi*2 + 1]
shl ecx, 8
or ecx, eax
movzx eax, word [ebx + 0x14]
and ecx, eax
add ecx, dword [ebx + 0x38]
add ecx, dword [ebp - 0x20]
test dl, dl
je 0x43e592
cmp byte [ecx], 0x80
jb 0x43e591
mov eax, dword [ebx + 0x3c]
inc ecx
cmp ecx, eax
jae 0x43e82d
cmp byte [ecx], 0x80
jae 0x43e583
inc ecx
lea edx, [ebp - 0x30]
call fcn.0042bd40
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jg 0x43e5ff
jl 0x43e5ae
mov edx, dword [ebp + 8]
cmp eax, edx
jae 0x43e602
lea edx, [edi + 1]
mov dword [ebp - 0x10], edx
cmp edx, esi
jle 0x43e617
or ebx, 0xffffffff
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
cmp byte [eax + 5], 0
jne 0x43e870
mov ebx, eax
movzx eax, word [ebx + 0x12]
cmp edx, eax
jl 0x43e7d0
movzx ecx, byte [ebx + 6]
add ecx, dword [ebx + 0x38]
movzx edx, byte [ecx + 8]
movzx eax, byte [ecx + 9]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xa]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xb]
jmp 0x43e803
mov edx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
jl 0x43e628
jg 0x43e60d
cmp eax, edx
jbe 0x43e628
mov edx, dword [ebp - 0x10]
lea esi, [edi - 1]
cmp edx, esi
jg 0x43e621
lea edi, [esi + edx]
sar edi, 1
jmp 0x43e557
mov ebx, 1
jmp 0x43e5bb
mov esi, dword [ebp - 8]
or byte [esi + 0x48], 2
mov dword [esi + 0x18], eax
movsx eax, word [esi + 0x4c]
mov dword [esi + 0x1c], ecx
mov word [esi + eax*2 + 0x4e], di
cmp byte [ebx + 5], 0
jne 0x43e852
mov edx, edi
mov dword [ebp - 0x10], edx
jmp 0x43e5cd
mov eax, dword [ebx + 0x40]
movzx ebx, byte [ebx + 7]
movzx edx, byte [eax + edi*2 + 1]
movzx eax, byte [eax + edi*2]
shl eax, 8
or edx, eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
and edx, eax
mov eax, dword [ebp - 0xc]
add edx, ebx
add edx, dword [eax + 0x38]
movzx eax, byte [eax + 8]
movzx ecx, byte [edx]
cmp ecx, eax
jg 0x43e698
push dword [ebp - 0x18]
lea eax, [edx + 1]
push eax
push ecx
call dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
jmp 0x43e7a0
mov al, byte [edx + 1]
test al, al
js 0x43e6ca
and ecx, 0x7f
movzx eax, al
shl ecx, 7
add ecx, eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0xa]
cmp ecx, eax
jg 0x43e6ca
push dword [ebp - 0x18]
lea eax, [edx + 2]
push eax
push ecx
call dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
jmp 0x43e7a0
mov esi, dword [ebp - 8]
sub edx, ebx
mov ecx, dword [ebp - 0xc]
add esi, 0x18
push esi
call fcn.0043a650
mov ebx, dword [esi]
add esp, 4
mov eax, ebx
mov dword [ebp - 0x24], ebx
cdq
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x43e8d6
test edx, edx
ja 0x43e8d6
jb 0x43e708
cmp esi, 0x7fffff00
jae 0x43e8d6
cmp dword [0x4e64d8], 0
je 0x43e748
mov eax, dword [0x4e8c60]
test eax, eax
je 0x43e724
push eax
call dword [0x4e652c]
add esp, 4
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.00427b30
mov eax, dword [0x4e8c60]
test eax, eax
je 0x43e743
push eax
call dword [0x4e6534]
mov esi, dword [ebp - 0x1c]
jmp 0x43e754
mov esi, dword [ebp - 0x1c]
jmp 0x43e757
push esi
call dword [0x4e64fc]
mov esi, eax
mov dword [ebp - 0x1c], esi
add esp, 4
test esi, esi
je 0x43e8d6
mov eax, dword [ebp - 8]
xor edx, edx
push 2
push esi
push ebx
movsx ecx, word [eax + 0x4c]
mov word [eax + ecx*2 + 0x4e], di
mov ecx, eax
call fcn.0043dc70
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x43e8cb
push dword [ebp - 0x18]
push esi
push dword [ebp - 0x24]
call dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
push esi
call fcn.00427fe0
mov esi, dword [ebp - 0x20]
add esp, 4
test ebx, ebx
jns 0x43e7ac
lea edx, [edi + 1]
mov dword [ebp - 0x10], edx
jmp 0x43e7bb
jle 0x43e893
mov edx, dword [ebp - 0x10]
lea esi, [edi - 1]
mov dword [ebp - 0x20], esi
cmp edx, esi
jg 0x43e5bb
mov ebx, dword [ebp - 0xc]
lea edi, [esi + edx]
sar edi, 1
jmp 0x43e652
mov eax, dword [ebx + 0x40]
movzx ecx, byte [eax + edx*2 + 1]
movzx eax, byte [eax + edx*2]
shl eax, 8
or ecx, eax
movzx eax, word [ebx + 0x14]
and ecx, eax
add ecx, dword [ebx + 0x38]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [ebp - 0x10]
shl edx, 8
or edx, eax
movsx eax, word [esi + 0x4c]
mov word [esi + eax*2 + 0x4e], cx
mov ecx, esi
call fcn.0043e0a0
mov ebx, eax
test ebx, ebx
jne 0x43e8de
mov edx, dword [ebp - 0x28]
jmp 0x43e520
push 0x4daaa0
push 0xe09e
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0042a1d0
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [eax], 0
xor eax, eax
and byte [esi + 0x48], 0xf9
mov word [esi + 0x2c], ax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [esi + 0x4c]
mov word [esi + eax*2 + 0x4e], di
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
xor eax, eax
xor ebx, ebx
mov word [esi + 0x2c], ax
and byte [esi + 0x48], 0xf9
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
xor ebx, ebx
mov eax, dword [ebp + 0x14]
mov ecx, 0xb
mov dword [eax], 0
movsx eax, word [esi + 0x4c]
mov word [esi + eax*2 + 0x4e], di
mov eax, dword [ebp - 0x18]
cmp byte [eax + 7], bl
cmovne ebx, ecx
xor eax, eax
and byte [esi + 0x48], 0xf9
mov word [esi + 0x2c], ax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00427fe0
add esp, 4
jmp 0x43e8db
mov ebx, 7
mov esi, dword [ebp - 8]
xor eax, eax
and byte [esi + 0x48], 0xf9
mov word [esi + 0x2c], ax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret