Function at 0x423460
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 0x4234d0
mov bl, byte [esi + 0x48]
test bl, 2
je 0x4234d0
mov eax, dword [esi + 0x78]
cmp byte [eax + 2], 0
je 0x4234d0
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
cmp ecx, edx
jne 0x4234ae
cmp eax, dword [ebp + 0xc]
jne 0x4234ae
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 0x4234d0
cmp eax, dword [ebp + 0xc]
jg 0x4234d0
jl 0x4234be
cmp ecx, edx
jae 0x4234d0
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 0x4234e4
mov ecx, edi
call fcn.0042e9b0
mov dword [ebp - 0x14], eax
mov byte [edi + 7], 0
jmp 0x4234eb
mov dword [ebp - 0x14], 0
mov ecx, esi
call fcn.00423220
test eax, eax
jne 0x4238da
cmp byte [esi + 0x49], al
je 0x4234be
mov edx, 1
sub edx, dword [ebp + 0x10]
mov dword [ebp - 0x28], edx
nop word [eax + eax]
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 0x423642
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 [ebp - 0x20]
add ecx, dword [ebx + 0x38]
test dl, dl
je 0x423582
cmp byte [ecx], 0x80
jb 0x423581
mov eax, dword [ebx + 0x3c]
inc ecx
cmp ecx, eax
jae 0x42381d
cmp byte [ecx], 0x80
jae 0x423573
inc ecx
lea edx, [ebp - 0x30]
call fcn.00411c60
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jg 0x4235ef
jl 0x42359e
mov edx, dword [ebp + 8]
cmp eax, edx
jae 0x4235f2
lea edx, [edi + 1]
mov dword [ebp - 0x10], edx
cmp edx, esi
jle 0x423607
or ebx, 0xffffffff
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
cmp byte [eax + 5], 0
jne 0x423860
mov ebx, eax
movzx eax, word [ebx + 0x12]
cmp edx, eax
jl 0x4237c0
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 0x4237f3
mov edx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
jl 0x423618
jg 0x4235fd
cmp eax, edx
jbe 0x423618
mov edx, dword [ebp - 0x10]
lea esi, [edi - 1]
cmp edx, esi
jg 0x423611
lea edi, [esi + edx]
sar edi, 1
jmp 0x423547
mov ebx, 1
jmp 0x4235ab
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 0x423842
mov edx, edi
mov dword [ebp - 0x10], edx
jmp 0x4235bd
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
ja 0x423688
push dword [ebp - 0x18]
lea eax, [edx + 1]
push eax
push ecx
call dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
jmp 0x423790
mov al, byte [edx + 1]
test al, al
js 0x4236ba
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
ja 0x4236ba
push dword [ebp - 0x18]
lea eax, [edx + 2]
push eax
push ecx
call dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
jmp 0x423790
mov esi, dword [ebp - 8]
sub edx, ebx
mov ecx, dword [ebp - 0xc]
add esi, 0x18
push esi
call fcn.0041f9f0
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 0x4238c6
test edx, edx
ja 0x4238c6
jb 0x4236f8
cmp esi, 0x7fffff00
jae 0x4238c6
cmp dword [0x4fcd40], 0
je 0x423738
mov eax, dword [0x5010e8]
test eax, eax
je 0x423714
push eax
call dword [0x4fcd94]
add esp, 4
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.0040dbb0
mov eax, dword [0x5010e8]
test eax, eax
je 0x423733
push eax
call dword [0x4fcd9c]
mov esi, dword [ebp - 0x1c]
jmp 0x423744
mov esi, dword [ebp - 0x1c]
jmp 0x423747
push esi
call dword [0x4fcd64]
mov esi, eax
mov dword [ebp - 0x1c], esi
add esp, 4
test esi, esi
je 0x4238c6
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.00422dc0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4238bb
push dword [ebp - 0x18]
push esi
push dword [ebp - 0x24]
call dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
push esi
call fcn.0040e000
mov esi, dword [ebp - 0x20]
add esp, 4
test ebx, ebx
jns 0x42379c
lea edx, [edi + 1]
mov dword [ebp - 0x10], edx
jmp 0x4237ab
jle 0x423883
mov edx, dword [ebp - 0x10]
lea esi, [edi - 1]
mov dword [ebp - 0x20], esi
cmp edx, esi
jg 0x4235ab
mov ebx, dword [ebp - 0xc]
lea edi, [esi + edx]
sar edi, 1
jmp 0x423642
mov eax, dword [ebx + 0x40]
movzx ecx, byte [eax + edx*2]
movzx eax, byte [eax + edx*2 + 1]
shl ecx, 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.00423180
mov ebx, eax
test ebx, ebx
jne 0x4238ce
mov edx, dword [ebp - 0x28]
jmp 0x423510
push 0x4e900c
push 0xde71
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004101d0
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.0040e000
add esp, 4
jmp 0x4238cb
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