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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], ebx
push edi
test esi, esi
jne 0x43047a
cmp byte [ebx], dl
jne 0x430471
mov dl, byte [ebx + 1]
test dl, 2
je 0x430471
mov ecx, dword [ebx + 0x20]
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x24]
mov edi, dword [ebp + 0xc]
cmp ecx, esi
jne 0x430415
cmp eax, edi
jne 0x430417
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, edi
jg 0x430471
jl 0x43041f
cmp ecx, esi
jae 0x430471
test dl, 8
jne 0x4304e4
add ecx, 1
adc eax, 0
cmp ecx, esi
jne 0x430471
cmp eax, edi
jne 0x430471
mov eax, dword [ebp + 0x14]
push 0
push ebx
mov dword [eax], 0
call fcn.00430b10
add esp, 8
test eax, eax
jne 0x430468
mov ecx, ebx
call fcn.0042f990
cmp dword [ebx + 0x20], esi
jne 0x430471
cmp dword [ebx + 0x24], edi
jne 0x430471
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x65
jne 0x430944
mov dword [ebp - 0xc], 0
jmp 0x4304d0
mov ecx, dword [esi]
cmp word [ecx + 8], 0xd
ja 0x4304c5
mov eax, dword [esi + 4]
movzx edx, word [eax + 8]
mov eax, dword [ecx + 0x10]
mov al, byte [eax]
test al, al
je 0x43049f
test al, 2
jne 0x4304c5
mov word [esi + 0xc], 0xff01
jmp 0x4304a5
mov word [esi + 0xc], 0x1ff
test dl, 4
je 0x4304b3
mov dword [ebp - 0xc], 0x43e3f0
jmp 0x4304cc
test dl, 0x39
jne 0x4304c5
cmp dword [ecx + 0x14], 0
mov dword [ebp - 0xc], 0x43e620
je 0x4304cc
mov dword [ebp - 0xc], 0x43e3d0
mov byte [esi + 0xb], 0
mov ecx, ebx
call fcn.00430040
test eax, eax
je 0x4304f6
cmp eax, 0x10
jne 0x430944
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
sub eax, dword [ebp + 0x10]
add ebx, 0x74
mov dword [ebp - 0x28], eax
mov edi, dword [ebx]
xor esi, esi
mov dword [ebp - 0x10], esi
mov ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], edi
movzx esi, word [edi + 0x18]
dec esi
mov ebx, esi
mov dword [ebp - 0x20], esi
sar ebx, cl
cmp dword [ebp - 0xc], 0
mov word [eax + 0x46], bx
jne 0x430604
mov cl, byte [edi + 3]
mov byte [ebp - 1], cl
mov eax, dword [edi + 0x40]
movzx edx, word [edi + 0x1a]
mov ax, word [eax + ebx*2]
mov ch, al
mov cl, ah
movzx eax, dx
movzx ecx, cx
and ecx, eax
add ecx, dword [edi + 0x44]
cmp byte [ebp - 1], 0
je 0x43056f
cmp byte [ecx], 0x80
jb 0x43056e
mov eax, dword [edi + 0x3c]
nop dword [eax + eax]
inc ecx
cmp ecx, eax
jae 0x43081b
cmp byte [ecx], 0x80
jae 0x430560
inc ecx
lea edx, [ebp - 0x30]
call fcn.0041bb20
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jg 0x4305c3
jl 0x43058b
mov edx, dword [ebp + 8]
cmp eax, edx
jae 0x4305c6
lea edx, [ebx + 1]
mov dword [ebp - 0x10], edx
cmp edx, esi
jle 0x4305db
or edi, 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 8], 0
jne 0x430876
mov edi, eax
movzx eax, word [edi + 0x18]
cmp edx, eax
jl 0x43079e
movzx ecx, byte [edi + 9]
mov eax, dword [edi + 0x38]
mov edx, dword [ecx + eax + 8]
jmp 0x4307b8
mov edx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
jl 0x4305ec
jg 0x4305d1
cmp eax, edx
jbe 0x4305ec
mov edx, dword [ebp - 0x10]
lea esi, [ebx - 1]
cmp edx, esi
jg 0x4305e5
lea ebx, [esi + edx]
sar ebx, 1
jmp 0x430533
mov edi, 1
jmp 0x430598
mov edx, dword [ebp - 8]
mov word [edx + 0x46], bx
cmp byte [edi + 8], 0
jne 0x430845
mov edx, ebx
mov dword [ebp - 0x10], edx
jmp 0x4305a7
mov eax, dword [edi + 0x40]
mov ax, word [eax + ebx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ecx, cx
and ecx, eax
movzx eax, byte [edi + 0xb]
add ecx, dword [edi + 0x44]
movzx edx, byte [ecx]
cmp edx, eax
ja 0x430638
push dword [ebp - 0x14]
lea eax, [ecx + 1]
push eax
push edx
call dword [ebp - 0xc]
mov edi, eax
jmp 0x43076b
mov al, byte [ecx + 1]
test al, al
js 0x430664
and edx, 0x7f
movzx eax, al
shl edx, 7
add edx, eax
movzx eax, word [edi + 0xe]
cmp edx, eax
ja 0x430664
push dword [ebp - 0x14]
lea eax, [ecx + 2]
push eax
push edx
call dword [ebp - 0xc]
mov edi, eax
jmp 0x43076b
mov esi, dword [ebp - 8]
movzx eax, byte [edi + 0xa]
add esi, 0x20
sub ecx, eax
mov eax, dword [edi + 0x50]
push esi
push ecx
push edi
call eax
mov edi, dword [esi]
add esp, 0xc
mov dword [ebp - 0x24], edi
cmp edi, 2
jl 0x430916
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, dword [eax + 0x14]
mov eax, edi
div dword [ecx + 0x28]
cmp eax, dword [ecx + 0x30]
ja 0x430916
lea eax, [edi + 0x12]
cdq
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x4308ff
test edx, edx
ja 0x4308ff
jb 0x4306c5
cmp esi, 0x7fffff00
jae 0x4308ff
cmp dword [0x4f4248], 0
je 0x430705
mov eax, dword [0x4f65d0]
test eax, eax
je 0x4306e1
push eax
call dword [0x4f4298]
add esp, 4
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.004172a0
mov eax, dword [0x4f65d0]
test eax, eax
je 0x430700
push eax
call dword [0x4f42a0]
mov esi, dword [ebp - 0x18]
jmp 0x430711
mov esi, dword [ebp - 0x18]
jmp 0x430714
push esi
call dword [0x4f4268]
mov esi, eax
mov dword [ebp - 0x18], esi
add esp, 4
test esi, esi
je 0x4308ff
mov eax, dword [ebp - 8]
xor edx, edx
push 0
push esi
push edi
mov ecx, eax
mov word [eax + 0x46], bx
call fcn.0042fb40
mov ecx, dword [ebp - 0x24]
mov edi, eax
mov eax, dword [ebp - 8]
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [esi + ecx], xmm0
mov word [esi + ecx + 0x10], 0
and byte [eax + 1], 0xfb
test edi, edi
jne 0x4308e4
push edi
push dword [ebp - 0x14]
mov edx, esi
call fcn.0043dd70
push esi
mov edi, eax
call fcn.00417510
mov esi, dword [ebp - 0x20]
add esp, 0xc
test edi, edi
jns 0x43077a
lea edx, [ebx + 1]
mov dword [ebp - 0x10], edx
jmp 0x430789
jle 0x430893
mov edx, dword [ebp - 0x10]
lea esi, [ebx - 1]
mov dword [ebp - 0x20], esi
cmp edx, esi
jg 0x430598
mov edi, dword [ebp - 0x1c]
lea ebx, [esi + edx]
sar ebx, 1
jmp 0x430604
mov eax, dword [edi + 0x40]
mov ax, word [eax + edx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [edi + 0x38]
mov edx, dword [ecx + eax]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
bswap edx
mov al, byte [edi + 0x44]
mov ecx, dword [edi + 0x14]
mov word [edi + 0x46], si
cmp al, 0x13
jge 0x430867
and byte [edi + 1], 0xf9
xor ebx, ebx
movsx eax, al
mov word [edi + 0x32], bx
lea ebx, [edi + 0x74]
mov word [edi + eax*2 + 0x48], si
movsx esi, byte [edi + 0x44]
mov eax, dword [ebx]
mov dword [edi + esi*4 + 0x78], eax
xor eax, eax
inc byte [edi + 0x44]
mov word [edi + 0x46], ax
movzx eax, byte [edi + 2]
push eax
push edi
push ebx
call fcn.0042d0b0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x430939
mov eax, dword [ebp - 0x28]
jmp 0x430504
push 0x4ee77c
push 0x11268
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00419f50
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or byte [edx + 1], 2
mov dword [edx + 0x20], eax
xor eax, eax
mov word [edx + 0x32], ax
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x24], ecx
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4ee77c
push 0x110c8
jmp 0x430920
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 8]
mov dword [eax], edi
xor edi, edi
xor eax, eax
mov word [esi + 0x46], bx
mov word [esi + 0x32], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
xor edi, edi
mov esi, dword [ebp - 8]
mov dword [eax], 0
mov eax, dword [ebp - 0x14]
mov word [esi + 0x46], bx
cmp byte [eax + 0xb], 0
je 0x43093c
push 0x4ee77c
push 0x112d3
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00419f50
add esp, 0x14
mov edi, 0xb
xor eax, eax
mov word [esi + 0x32], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00417510
mov esi, dword [ebp - 8]
add esp, 4
xor eax, eax
mov word [esi + 0x32], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
xor eax, eax
mov edi, 7
mov word [esi + 0x32], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4ee77c
push 0x112b3
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00419f50
mov edi, 0xb
add esp, 0x14
mov esi, dword [ebp - 8]
xor eax, eax
mov word [esi + 0x32], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret