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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov byte [esp + 0x12], dl
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov al, byte [edi]
test al, al
je 0x435c9f
cmp al, 3
jb 0x435ce8
call fcn.0042ab70
test eax, eax
jne 0x4361d9
cmp byte [edi], al
jne 0x4361d9
mov ebx, dword [edi + 0x74]
movsx eax, byte [edi + 0x44]
movzx ecx, word [edi + 0x46]
mov dword [esp + 0x1c], eax
movzx eax, word [ebx + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
cmp eax, ecx
ja 0x435d12
push 0x692b64
push 0x13819
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00414390
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x692b64
push 0x13810
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00414390
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx esi, cx
and esi, eax
add esi, dword [ebx + 0x38]
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x2c], esi
jge 0x435d68
mov ecx, ebx
call fcn.0042c100
test eax, eax
je 0x435d68
push 0x692b64
push 0x1381d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00414390
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [ebx + 0x18]
add eax, dword [ebx + 0x40]
cmp esi, eax
jae 0x435d9d
push 0x692b64
push 0x13820
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00414390
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esp + 0x12]
shr al, 1
and al, 1
mov byte [esp + 0x12], al
je 0x435df9
cmp byte [ebx + 8], 0
je 0x435dea
mov eax, dword [ebx + 0x4c]
push esi
push ebx
call eax
movzx esi, ax
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x28]
mov eax, 0xaaaaaaab
add ecx, ecx
mul ecx
mov eax, dword [ebx + 0x14]
add eax, 2
shr edx, 1
add eax, esi
cmp eax, edx
jg 0x435dea
cmp word [ebx + 0x18], 1
je 0x435dea
mov byte [esp + 0x12], 2
jmp 0x435df9
mov ecx, edi
call fcn.0042a850
test eax, eax
jne 0x4361d9
cmp byte [ebx + 8], 0
lea esi, [edi + 1]
jne 0x435e39
and byte [esi], 0xf1
xor eax, eax
mov word [edi + 0x32], ax
cmp byte [edi], al
jne 0x435e2a
movzx ecx, word [edi + 0x46]
test cx, cx
je 0x435e2a
mov eax, dword [edi + 0x74]
cmp byte [eax + 8], 0
je 0x435e2a
lea eax, [ecx - 1]
mov word [edi + 0x46], ax
jmp 0x435e39
mov ecx, edi
call fcn.00430c50
test eax, eax
jne 0x4361d9
test byte [esi], 0x20
lea eax, [edi + 0x40]
je 0x435e81
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x435e64
nop
cmp ecx, edi
je 0x435e5d
test edx, edx
je 0x435e69
cmp dword [ecx + 0x40], edx
je 0x435e69
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x435e50
and byte [esi], 0xdf
jmp 0x435e81
test ecx, ecx
je 0x435e64
push edi
call fcn.0042a950
add esp, 4
test eax, eax
jne 0x4361d9
lea eax, [edi + 0x40]
cmp dword [edi + 0x70], 0
jne 0x435ed7
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xb], 0
je 0x435ed7
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x20]
mov esi, dword [edi + 0x24]
mov byte [eax + 0xb], 0
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x435ed7
mov ebx, dword [esp + 0x14]
nop
test byte [eax + 1], 0x10
je 0x435ecc
mov byte [ebx + 0xb], 1
cmp dword [eax + 0x40], ecx
jne 0x435ecc
cmp dword [eax + 0x20], edx
jne 0x435ecc
cmp dword [eax + 0x24], esi
jne 0x435ecc
mov byte [eax], 1
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x435eb0
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x435ef8
mov eax, dword [edx + 0x1c]
cmp eax, dword [ecx + 0x18]
jb 0x435ef8
cmp dword [edx + 0x68], 0
je 0x435f25
call fcn.004238e0
jmp 0x435f1d
mov eax, dword [edx + 0x2c]
test eax, eax
jne 0x4361d9
mov eax, dword [edx + 0x9c]
cmp eax, dword [edx + 0xa8]
jbe 0x435f18
call fcn.004253d0
jmp 0x435f1d
call fcn.00425350
test eax, eax
jne 0x4361d9
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebx + 0x50]
push esi
push ebx
call eax
movzx eax, word [esp + 0x4c]
add esp, 0xc
cmp eax, dword [esp + 0x3c]
je 0x435f56
lea eax, [esp + 0x30]
mov edx, esi
push eax
mov ecx, ebx
call fcn.00431d30
add esp, 4
jmp 0x435f58
xor eax, eax
mov edx, dword [esp + 0x24]
mov ecx, ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
movzx eax, word [esp + 0x46]
push eax
call fcn.004322b0
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x4361d9
cmp byte [ebx + 8], al
jne 0x4360bf
mov esi, dword [edi + 0x74]
cmp dword [esi + 0x14], eax
jge 0x435fa1
mov ecx, esi
call fcn.0042c100
test eax, eax
jne 0x4361d9
movsx eax, byte [edi + 0x44]
mov ecx, dword [esp + 0x1c]
dec eax
cmp ecx, eax
jge 0x435fb4
mov eax, dword [edi + ecx*4 + 0x7c]
jmp 0x435fb7
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 4]
movzx ecx, word [esi + 0x18]
mov edx, dword [esi + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [esi + 0x1a]
movzx ebx, cx
and ebx, eax
lea eax, [edx + 4]
add ebx, edx
cmp ebx, eax
jae 0x43600d
push 0x692b64
push 0x1387b
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00414390
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
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 eax, ax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x18], eax
je 0x43604a
mov eax, dword [edx + 0x1c]
cmp eax, dword [ecx + 0x18]
jb 0x43604a
cmp dword [edx + 0x68], 0
je 0x436073
call fcn.004238e0
jmp 0x43606b
mov eax, dword [edx + 0x2c]
test eax, eax
jne 0x436097
mov eax, dword [edx + 0x9c]
cmp eax, dword [edx + 0xa8]
jbe 0x436066
call fcn.004253d0
jmp 0x43606b
call fcn.00425350
mov dword [esp + 0x14], eax
test eax, eax
jne 0x43609b
push dword [esp + 0x28]
mov eax, dword [esp + 0x30]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add eax, 4
mov ecx, dword [esp + 0x28]
push eax
lea eax, [ebx - 4]
push eax
call fcn.004323d0
add esp, 0x10
mov dword [esp + 0x14], eax
movzx edx, word [esi + 0x18]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x30]
dec edx
mov ecx, esi
call fcn.004322b0
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x4361d9
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0x28]
mov eax, dword [edi + 0x74]
add ecx, ecx
mov eax, dword [eax + 0x14]
lea eax, [eax + eax*2]
cmp eax, ecx
jg 0x4360d8
xor esi, esi
jmp 0x4360e9
mov ecx, edi
call fcn.00434c80
mov esi, eax
test esi, esi
jne 0x4361d7
movsx eax, byte [edi + 0x44]
mov ebx, esi
mov edx, esi
mov ecx, esi
cmp eax, dword [esp + 0x1c]
jle 0x43616c
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x43610c
call fcn.00423250
jmp 0x436111
call fcn.0041f320
mov cl, byte [edi + 0x44]
mov ebx, dword [esp + 0x1c]
dec cl
movsx eax, cl
mov byte [edi + 0x44], cl
cmp eax, ebx
jle 0x436153
movsx eax, cl
dec cl
mov eax, dword [edi + eax*4 + 0x78]
mov byte [edi + 0x44], cl
test eax, eax
je 0x436149
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x436144
call fcn.00423250
jmp 0x436149
call fcn.0041f320
mov cl, byte [edi + 0x44]
movsx eax, cl
cmp eax, ebx
jg 0x436124
movsx eax, cl
mov ecx, edi
mov eax, dword [edi + eax*4 + 0x78]
mov dword [edi + 0x74], eax
call fcn.00434c80
mov esi, eax
mov ebx, eax
mov edx, eax
mov ecx, eax
test ebx, ebx
jne 0x4361d7
mov bl, byte [esp + 0x12]
cmp bl, 1
jbe 0x4361b8
mov ebx, dword [esp + 0x20]
mov byte [edi], 2
movzx eax, word [ebx + 0x18]
cmp dword [esp + 0x24], eax
jb 0x4361a6
mov dword [edi + 4], 0xffffffff
mov esi, edx
mov ax, word [ebx + 0x18]
dec ax
mov word [edi + 0x46], ax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, ecx
mov dword [edi + 4], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0042fe50
mov esi, eax
test bl, bl
je 0x4361cf
mov ecx, edi
call fcn.0042a7f0
mov byte [edi], 3
xor eax, eax
cmp esi, 0x10
cmove esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret