Function at 0x463200
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 - 0x1c], edi
jne 0x463270
mov bl, byte [esi + 0x48]
test bl, 2
je 0x463270
mov eax, dword [esi + 0x78]
cmp byte [eax + 2], 0
je 0x463270
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
cmp ecx, edx
jne 0x46324e
cmp eax, dword [ebp + 0xc]
jne 0x46324e
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 0x463270
cmp eax, dword [ebp + 0xc]
jg 0x463270
jl 0x46325e
cmp ecx, edx
jae 0x463270
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 0x463284
mov ecx, edi
call fcn.0046f900
mov dword [ebp - 0x14], eax
mov byte [edi + 7], 0
jmp 0x46328b
mov dword [ebp - 0x14], 0
mov ecx, esi
call fcn.00462f60
test eax, eax
jne 0x4636c9
cmp byte [esi + 0x49], al
je 0x46325e
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 - 0x18], esi
sar edi, cl
cmp dword [ebp - 0x14], 0
mov ecx, dword [ebp - 8]
mov word [ecx + eax*2 + 0x4e], di
jne 0x4633e2
movzx ecx, byte [ebx + 7]
mov dword [ebp - 0x18], 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 - 0x18]
test dl, dl
je 0x463322
cmp byte [ecx], 0x80
jb 0x463321
mov eax, dword [ebx + 0x3c]
inc ecx
cmp ecx, eax
jae 0x46360c
cmp byte [ecx], 0x80
jae 0x463313
inc ecx
lea edx, [ebp - 0x30]
call fcn.00450600
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jg 0x46338f
jl 0x46333e
mov edx, dword [ebp + 8]
cmp eax, edx
jae 0x463392
lea edx, [edi + 1]
mov dword [ebp - 0x10], edx
cmp edx, esi
jle 0x4633a7
or ebx, 0xffffffff
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
cmp byte [eax + 5], 0
jne 0x46364f
mov ebx, eax
movzx eax, word [ebx + 0x12]
cmp edx, eax
jl 0x4635af
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 0x4635e2
mov edx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
jl 0x4633b8
jg 0x46339d
cmp eax, edx
jbe 0x4633b8
mov edx, dword [ebp - 0x10]
lea esi, [edi - 1]
cmp edx, esi
jg 0x4633b1
lea edi, [esi + edx]
sar edi, 1
jmp 0x4632e7
mov ebx, 1
jmp 0x46334b
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 0x463631
mov edx, edi
mov dword [ebp - 0x10], edx
jmp 0x46335d
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 0x463428
push dword [ebp - 0x1c]
lea eax, [edx + 1]
push eax
push ecx
call dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
jmp 0x46357f
mov al, byte [edx + 1]
test al, al
js 0x46345a
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 0x46345a
push dword [ebp - 0x1c]
lea eax, [edx + 2]
push eax
push ecx
call dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
jmp 0x46357f
mov esi, dword [ebp - 8]
sub edx, ebx
mov ecx, dword [ebp - 0xc]
add esi, 0x18
push esi
call fcn.0045f360
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 0x4636b5
test edx, edx
ja 0x4636b5
jb 0x463498
cmp esi, 0x7fffff00
jae 0x4636b5
cmp dword [0x52c580], 0
je 0x4634d8
mov eax, dword [0x53afe8]
test eax, eax
je 0x4634b4
push eax
call dword [0x52c5d4]
add esp, 4
lea edx, [ebp - 0x20]
mov ecx, esi
call fcn.0044c420
mov eax, dword [0x53afe8]
test eax, eax
je 0x4634d3
push eax
call dword [0x52c5dc]
mov esi, dword [ebp - 0x20]
jmp 0x4634e4
mov esi, dword [ebp - 0x20]
jmp 0x4634e7
push esi
call dword [0x52c5a4]
mov esi, eax
mov dword [ebp - 0x20], esi
add esp, 4
test esi, esi
je 0x4636b5
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.00462a90
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4636aa
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x24]
call dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
cmp dword [0x52c580], 0
je 0x463572
mov eax, dword [0x53afe8]
test eax, eax
je 0x463540
push eax
call dword [0x52c5d4]
add esp, 4
push esi
call dword [0x52c5b0]
sub dword [0x53b028], eax
add esp, 4
dec dword [0x53b04c]
push esi
call dword [0x52c5a8]
mov eax, dword [0x53afe8]
add esp, 4
test eax, eax
je 0x46357c
push eax
call dword [0x52c5dc]
jmp 0x463579
push esi
call dword [0x52c5a8]
add esp, 4
mov esi, dword [ebp - 0x18]
test ebx, ebx
jns 0x46358b
lea edx, [edi + 1]
mov dword [ebp - 0x10], edx
jmp 0x46359a
jle 0x463672
mov edx, dword [ebp - 0x10]
lea esi, [edi - 1]
mov dword [ebp - 0x18], esi
cmp edx, esi
jg 0x46334b
mov ebx, dword [ebp - 0xc]
lea edi, [esi + edx]
sar edi, 1
jmp 0x4633e2
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.00462ec0
mov ebx, eax
test ebx, ebx
jne 0x4636bd
mov edx, dword [ebp - 0x28]
jmp 0x4632b0
push 0x51877c
push 0xe255
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0044eab0
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 - 0x1c]
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.0044c830
add esp, 4
jmp 0x4636ba
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