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

Disassembly:
sub esp, 0x24
mov eax, dword [0x4e7744]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
xor ebp, ebp
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 0x74]
push edi
mov ecx, dword [eax + 0x28]
mov eax, 0xaaaaaaab
add ecx, ecx
mul ecx
mov ecx, edx
shr ecx, 1
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [esi + 0x14], 0
jge 0x423a53
push esi
call fcn.00425d30
add esp, 4
test eax, eax
jne 0x423d65
mov ecx, dword [esp + 0x14]
mov al, byte [esi + 0xc]
test al, al
jne 0x423a63
cmp dword [esi + 0x14], ecx
jle 0x423d65
movsx ecx, byte [ebx + 0x44]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x423acc
test al, al
je 0x423d65
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 8]
test eax, eax
je 0x423a9d
cmp eax, ebx
je 0x423a96
cmp byte [eax], 0
jne 0x423a96
mov ecx, dword [eax + 0x74]
cmp ecx, dword [ebx + 0x74]
je 0x423d42
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x423a81
lea edi, [ebx + 0x7c]
push edi
push esi
call fcn.00423d90
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x423d65
mov ecx, dword [esp + 0x14]
mov byte [ebx + 0x44], 1
mov dword [ebx + 0x78], esi
mov esi, dword [edi]
mov dword [ebx + 0x46], eax
mov dword [ebx + 0x74], esi
jmp 0x423a38
mov edi, dword [ebx + ecx*4 + 0x74]
movzx eax, word [ebx + ecx*2 + 0x46]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x423afb
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x423afb
cmp dword [edx + 0x60], 0
je 0x423b2e
push ecx
call fcn.004917e0
jmp 0x423b21
mov ebp, dword [edx + 0x28]
test ebp, ebp
jne 0x423ccd
mov eax, dword [edx + 0x94]
push ecx
cmp eax, dword [edx + 0x98]
jbe 0x423b1c
call fcn.0043f400
jmp 0x423b21
call fcn.004406a0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x423ccd
cmp dword [edi + 0x14], 0
jge 0x423b47
push edi
call fcn.00425d30
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x423ccd
cmp byte [esi + 3], 0
je 0x423b85
cmp byte [esi + 0xc], 1
jne 0x423b85
mov ax, word [esi + 0x1c]
cmp ax, word [esi + 0x18]
jne 0x423b85
cmp dword [edi + 4], 1
mov ebp, dword [esp + 0x10]
je 0x423b89
movzx eax, word [edi + 0x18]
cmp eax, ebp
jne 0x423b89
lea eax, [esp + 0x20]
push eax
push esi
push edi
call fcn.00425570
add esp, 0xc
mov ebp, eax
jmp 0x423ccd
mov ebp, dword [esp + 0x10]
mov eax, dword [ebx + 0x14]
push dword [eax + 0x24]
call fcn.00441e90
movzx ecx, byte [ebx + 3]
and ecx, 1
mov dword [esp + 0x14], eax
push ecx
xor ecx, ecx
cmp dword [esp + 0x24], 1
sete cl
push ecx
push eax
push ebp
push edi
call fcn.00423fe0
mov edi, dword [esp + 0x30]
add esp, 0x18
mov ebp, eax
test edi, edi
je 0x423cc5
cmp edi, dword [0x4e898c]
jb 0x423c30
cmp edi, dword [0x4e8990]
jae 0x423c30
mov eax, dword [0x4e8994]
test eax, eax
je 0x423be7
push eax
call dword [0x4e6058]
add esp, 4
mov eax, dword [0x4e8998]
dec dword [0x4e867c]
mov dword [edi], eax
xor eax, eax
mov ecx, dword [0x4e899c]
inc ecx
mov dword [0x4e8998], edi
cmp ecx, dword [0x4e8988]
mov dword [0x4e899c], ecx
setl al
mov dword [0x4e89a0], eax
mov eax, dword [0x4e8994]
test eax, eax
je 0x423cc5
push eax
call dword [0x4e6060]
jmp 0x423cc2
push edi
call dword [0x4e6034]
mov ecx, dword [0x4e8994]
add esp, 4
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x423c5c
push ecx
call dword [0x4e6058]
mov ecx, dword [0x4e8994]
add esp, 4
mov eax, dword [esp + 0x1c]
sub dword [0x4e8680], eax
test ecx, ecx
je 0x423c70
push ecx
call dword [0x4e6060]
add esp, 4
cmp dword [0x4e6008], 0
je 0x423cbb
mov eax, dword [0x4e86d8]
test eax, eax
je 0x423c8c
push eax
call dword [0x4e6058]
add esp, 4
push edi
call dword [0x4e6034]
sub dword [0x4e8678], eax
dec dword [0x4e869c]
push edi
call dword [0x4e602c]
mov eax, dword [0x4e86d8]
add esp, 8
test eax, eax
je 0x423cc5
push eax
call dword [0x4e6060]
jmp 0x423cc2
push edi
call dword [0x4e602c]
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x48]
mov byte [esi + 0xc], 0
test byte [edx + 0x1c], 0x20
je 0x423d19
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.004aa8f0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x423d22
push edx
call fcn.0046a550
add esp, 4
mov cl, byte [ebx + 0x44]
lea eax, [ecx - 1]
mov byte [ebx + 0x44], al
movsx eax, cl
mov esi, dword [ebx + eax*4 + 0x74]
mov dword [ebx + 0x74], esi
test ebp, ebp
jne 0x423d65
mov ecx, dword [esp + 0x14]
jmp 0x423a38
push 0x4d6684
push 0x11e9c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00420250
add esp, 0x14
mov ebp, 0xb
mov eax, dword [esp + 0x18]
test eax, eax
je 0x423d76
push eax
call fcn.00442350
add esp, 4
mov ecx, dword [esp + 0x30]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004aa4f4
add esp, 0x24
ret