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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], 0
mov esi, dword [edi]
movsx ebx, byte [edi + 0x44]
mov dword [esp + 0x28], ebx
mov eax, dword [esi + 4]
mov ebp, dword [edi + ebx*4 + 0x78]
mov dword [esp + 0x1c], eax
lea eax, [edi + 0x50]
movzx ecx, word [eax + ebx*2]
lea eax, [eax + ebx*2]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebp
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebp + 0x14]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebp + 0x38]
cmp byte [ebp + 5], 0
mov dword [esp + 0x18], ecx
jne 0x438500
and byte [edi + 0x40], 0xf1
xor eax, eax
cmp byte [edi + 0x42], 1
mov dword [esp + 0x14], 0
mov word [edi + 0x24], ax
jne 0x4384ed
movzx ecx, word [edi + ebx*2 + 0x50]
test cx, cx
je 0x4384ed
mov eax, dword [edi + ebx*4 + 0x78]
cmp byte [eax + 5], 0
je 0x4384ed
lea eax, [ecx - 1]
mov word [edi + ebx*2 + 0x50], ax
jmp 0x438500
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.00434730
test eax, eax
jne 0x4388a6
mov al, byte [edi + 0x40]
test al, 0x20
je 0x438536
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x34]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x438531
cmp ecx, edi
je 0x43852a
test edx, edx
je 0x4385ed
cmp dword [ecx + 0x34], edx
je 0x4385ed
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x438515
and al, 0xdf
mov byte [edi + 0x40], al
cmp dword [edi + 0x48], 0
jne 0x438575
cmp byte [esi + 0xb], 0
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
je 0x438575
mov eax, dword [esi + 4]
mov byte [esi + 0xb], 0
mov eax, dword [eax + 8]
test eax, eax
je 0x438575
test byte [eax + 0x40], 0x10
je 0x43856e
mov byte [esi + 0xb], 1
cmp dword [eax + 0x10], ecx
jne 0x43856e
cmp dword [eax + 0x14], edx
jne 0x43856e
mov byte [eax + 0x42], 0
mov eax, dword [eax + 8]
test eax, eax
jne 0x438556
cmp dword [esp + 0x30], 0
je 0x4385bd
cmp byte [ebp + 5], 0
je 0x43860e
push dword [esp + 0x18]
push ebp
call fcn.00430230
movzx esi, word [ebp + 0x10]
add esp, 8
movzx ecx, ax
add esi, 2
mov eax, dword [esp + 0x1c]
add esi, ecx
mov ecx, dword [eax + 0x24]
mov eax, 0xaaaaaaab
add ecx, ecx
mul ecx
shr edx, 1
cmp esi, edx
jg 0x43860e
mov dword [esp + 0x2c], 1
mov ecx, dword [ebp + 0x48]
test byte [ecx + 0x18], 4
mov edx, dword [ecx + 0x10]
je 0x43867c
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x14]
jb 0x43867c
cmp dword [edx + 0x60], 0
je 0x43869e
call fcn.0042ab70
jmp 0x438696
test ecx, ecx
je 0x438531
push edi
call fcn.0042fb10
add esp, 4
test eax, eax
je 0x438536
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00433630
cmp byte [edi + 0x45], 0
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
jne 0x4385bd
push ecx
call fcn.0041f140
mov esi, eax
add esp, 4
test esi, esi
je 0x43866d
push 0
push esi
push dword [edi + 0x28]
xor edx, edx
mov ecx, edi
call fcn.00433820
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x43865a
mov ebx, dword [esp + 0x28]
mov dword [edi + 0x30], esi
jmp 0x4385bd
push esi
call fcn.0041f4b0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 7
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x438691
call fcn.0042c5f0
jmp 0x438696
call fcn.0042c3f0
test eax, eax
jne 0x4388a6
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.004357e0
mov edx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, ebp
lea eax, [esp + 0x18]
push eax
movzx eax, word [esp + 0x18]
push eax
call fcn.00435e10
mov esi, dword [esp + 0x20]
add esp, 8
test esi, esi
jne 0x4388a4
cmp byte [ebp + 5], 0
jne 0x4387e7
movsx eax, byte [edi + 0x44]
mov esi, dword [edi + eax*4 + 0x78]
mov eax, dword [edi + ebx*4 + 0x7c]
movzx ecx, word [esi + 0x12]
mov eax, dword [eax + 0x54]
mov edx, dword [esi + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [esi + 0x14]
movzx ebx, cx
and ebx, eax
lea eax, [edx + 4]
add ebx, edx
cmp ebx, eax
jae 0x438742
push 0x4d5e84
push 0xf527
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00421700
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x4c]
push ebx
push esi
call eax
mov ecx, dword [esi + 0x48]
add esp, 8
movzx ebp, ax
mov eax, dword [esp + 0x1c]
test byte [ecx + 0x18], 4
mov edx, dword [ecx + 0x10]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x1c], eax
je 0x43877f
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x14]
jb 0x43877f
cmp dword [edx + 0x60], 0
je 0x43877b
call fcn.0042ab70
jmp 0x438799
xor eax, eax
jmp 0x438799
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x438794
call fcn.0042c5f0
jmp 0x438799
call fcn.0042c3f0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
lea eax, [ebp + 4]
push dword [esp + 0x24]
push eax
lea eax, [ebx - 4]
push eax
call fcn.00435f30
movzx edx, word [esi + 0x12]
lea eax, [esp + 0x2c]
add esp, 0x14
dec edx
mov ecx, esi
push eax
push ebp
call fcn.00435e10
mov esi, dword [esp + 0x20]
add esp, 8
test esi, esi
jne 0x4388a4
mov ebp, dword [esp + 0x24]
mov ecx, edi
call fcn.00437ff0
mov esi, eax
test esi, esi
jne 0x4388a4
mov dl, byte [edi + 0x44]
mov ebx, dword [esp + 0x28]
movsx ecx, dl
cmp ecx, ebx
jle 0x43884c
movsx eax, dl
dec dl
mov ecx, dword [edi + eax*4 + 0x78]
mov byte [edi + 0x44], dl
test ecx, ecx
je 0x438838
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x18], 0x40
mov esi, dword [ecx + 0x10]
je 0x438829
call fcn.0042a600
jmp 0x43882e
call fcn.00427070
mov ecx, esi
call fcn.0042bb90
mov dl, byte [edi + 0x44]
movsx eax, dl
cmp eax, ebx
jg 0x438806
mov ecx, edi
call fcn.00437ff0
mov esi, eax
test esi, esi
jne 0x4388a4
cmp dword [esp + 0x2c], 0
je 0x438890
mov byte [edi + 0x42], 2
movzx eax, word [ebp + 0x12]
cmp dword [esp + 0x20], eax
jb 0x43887f
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x3c], 0xffffffff
mov ax, word [ebp + 0x12]
dec ax
mov word [ecx], ax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x3c], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00433ca0
cmp dword [esp + 0x30], 0
mov esi, eax
je 0x4388a4
mov byte [edi + 0x42], 3
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret