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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edi
mov esi, dword [edi + 4]
mov dword [esp + 0x14], esi
cmp byte [esi + 0x11], 0
je 0x42f949
mov eax, dword [esi + 8]
test eax, eax
je 0x42f39b
nop dword [eax]
and byte [eax + 1], 0xfb
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x42f390
cmp byte [edi + 9], 0
mov ebx, dword [edi + 4]
je 0x42f3b2
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x42f3b2
call fcn.00424710
cmp byte [edi + 9], 0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax + 0x34]
bswap ebx
je 0x42f3d0
sub dword [edi + 0xc], 1
jne 0x42f3d0
mov ecx, edi
call fcn.004246f0
mov edi, dword [esp + 0x14]
inc ebx
mov ecx, ebx
mov dword [esp + 0x10], ebx
mov edx, ebx
mov dword [esp + 0xc], ebx
mov eax, ebx
mov esi, ebx
cmp ecx, 2
jae 0x42f3ee
xor ecx, ecx
jmp 0x42f426
lea esi, [edx - 2]
mov eax, 0xcccccccd
mul dword [edi + 0x24]
mov eax, esi
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
mov eax, dword [0x4da850]
xor ecx, ecx
sub esi, edx
xor edx, edx
div dword [edi + 0x20]
dec eax
cmp esi, eax
mov eax, dword [esp + 0x10]
sete cl
add esi, 2
add ecx, esi
mov esi, dword [esp + 0xc]
cmp eax, ecx
je 0x42f439
mov eax, dword [0x4da850]
xor edx, edx
div dword [edi + 0x20]
inc eax
cmp esi, eax
jne 0x42f44c
inc ebx
mov eax, ebx
mov ecx, ebx
mov edx, ecx
mov dword [esp + 0x10], eax
mov esi, eax
mov dword [esp + 0xc], eax
jmp 0x42f3e5
push 1
lea eax, [esp + 0x24]
mov esi, edi
push ebx
push eax
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.0042a9e0
mov edi, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x42f9df
cmp dword [esp + 0x20], ebx
je 0x42f86e
mov ecx, dword [esi + 8]
mov byte [esp + 0x10], 0
mov dword [esp + 0x18], 0
test ecx, ecx
je 0x42f4a4
push 0
xor edx, edx
call fcn.00424a50
add esp, 4
mov dword [esp + 0xc], eax
jmp 0x42f4ac
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x28]
test edx, edx
je 0x42f507
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x42f500
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004c2a20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x24]
add esp, 0x10
jmp 0x42f507
mov ecx, edx
call fcn.0041a3d0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x42f9df
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push 0
push ecx
push ebx
push eax
mov eax, dword [eax + 0xc8]
call eax
add esp, 0x10
test eax, eax
jne 0x42f9df
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov esi, dword [ecx + 8]
cmp ebx, dword [esi + 4]
je 0x42f55d
mov eax, dword [ecx + 4]
cmp ebx, 1
mov dword [esi + 0x38], eax
setne al
mov dword [esi + 0x48], ecx
dec al
mov dword [esi + 0x34], edi
and al, 0x64
mov dword [esi + 4], ebx
mov byte [esi + 9], al
lea eax, [esp + 0x18]
mov edx, ebx
push eax
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00424fc0
mov cl, byte [esp + 0x18]
add esp, 8
mov dword [esp + 0x28], eax
cmp cl, 1
je 0x42f7cc
cmp cl, 2
je 0x42f7cc
test eax, eax
jne 0x42f7f1
push eax
push dword [esp + 0x24]
mov edx, esi
mov ecx, edi
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.00428130
add esp, 0x10
mov dword [esp + 0x18], eax
test esi, esi
je 0x42f60d
mov edx, dword [esi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x42f602
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004c2a20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov edi, dword [esp + 0x24]
add esp, 0x10
jmp 0x42f609
mov ecx, edx
call fcn.0041a3d0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42f9df
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push 0
push ecx
push ebx
push eax
mov eax, dword [eax + 0xc8]
call eax
add esp, 0x10
test eax, eax
jne 0x42f9df
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx + 8]
cmp ebx, dword [esi + 4]
je 0x42f65b
mov eax, dword [ecx + 4]
cmp ebx, 1
mov dword [esi + 0x38], eax
setne al
mov dword [esi + 0x48], ecx
dec al
mov dword [esi + 0x34], edi
and al, 0x64
mov dword [esi + 4], ebx
mov byte [esi + 9], al
mov ecx, dword [esi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x42f71e
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x42f71e
cmp dword [edx + 0x60], 0
je 0x42f687
call fcn.0041ec00
jmp 0x42f743
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0
push 1
mov edx, ebx
call fcn.00424db0
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x42f894
test esi, esi
je 0x42f9df
mov edx, dword [esi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x42f877
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov dword [eax + 0x88], edx
mov esi, dword [eax + 0x3c]
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004c2a20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x28]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x42f753
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x42f73e
call fcn.00420780
jmp 0x42f743
call fcn.004206b0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x42f68f
mov edx, dword [esi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x42f7af
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004c2a20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov eax, dword [esp + 0x20]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov ecx, edx
call fcn.0041a3d0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
push 0x4d6ad4
push 0x10ab1
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
add esp, 0x14
mov ebx, 0xb
jmp 0x42f7f5
mov ebx, dword [esp + 0x28]
test esi, esi
je 0x42f85a
mov edx, dword [esi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x42f853
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004c2a20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov ecx, edx
call fcn.0041a3d0
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x28]
jmp 0x42f693
mov ecx, edx
call fcn.0041a3d0
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
cmp byte [edi + 9], 0
mov eax, dword [edi + 4]
mov dword [esp + 0x28], eax
je 0x42f8b5
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x42f8b5
mov ecx, edi
call fcn.00424710
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x42f8ea
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x42f8ea
cmp dword [edx + 0x60], 0
je 0x42f8e0
call fcn.0041ec00
jmp 0x42f90f
mov dword [esp + 0xc], 0
jmp 0x42f917
mov eax, dword [edx + 0x28]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x42f922
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x42f90a
call fcn.00420780
jmp 0x42f90f
call fcn.004206b0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x42f922
mov ecx, dword [esp + 0x28]
mov eax, ebx
bswap eax
mov dword [ecx + 0x34], eax
cmp byte [edi + 9], 0
je 0x42f935
sub dword [edi + 0xc], 1
jne 0x42f935
mov ecx, edi
call fcn.004246f0
cmp dword [esp + 0xc], 0
je 0x42f96c
test esi, esi
je 0x42f87e
jmp 0x42f6be
push 0
lea eax, [esp + 0x2c]
mov ecx, esi
push 1
push eax
lea edx, [esp + 0x24]
call fcn.0042a9e0
add esp, 0xc
test eax, eax
jne 0x42f9df
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
test byte [ebp + 8], 1
mov eax, 0xa
mov edx, 0xd
mov ecx, esi
cmove edx, eax
call fcn.004260f0
mov edx, dword [esi + 0x48]
test edx, edx
je 0x42f9d7
test byte [edx + 0x1c], 0x20
je 0x42f9d0
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004c2a20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x42f9d7
mov ecx, edx
call fcn.0041a3d0
mov eax, dword [esp + 0x24]
mov dword [eax], ebx
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret