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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x70]
xor ebx, ebx
push esi
xor eax, eax
mov dword [esp + 0x2c], ebx
push edi
mov edi, dword [ebp]
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
cmp dword [ebp + 0x24], eax
jne 0x521a4e
cmp byte [ebp + 0xd0], 1
jne 0x520e16
cmp byte [esp + 0xa0], 2
jne 0x521a4e
push ebp
call fcn.0053ff50
add esp, 4
test eax, eax
jne 0x521a4e
mov eax, dword [esp + 0x88]
push eax
push ebp
mov dword [esp + 0x24], eax
call fcn.005348f0
add esp, 8
test eax, eax
jne 0x521a4e
cmp dword [esp + 0x84], ebx
je 0x520f36
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x30]
push eax
push esi
push dword [esp + 0x84]
push ebp
call fcn.00547810
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
js 0x521a4e
cmp byte [edi + 0xb1], bl
jne 0x520eb5
push dword [esp + 0x84]
push ebp
call fcn.00546190
add esp, 8
cmp dword [esi + 4], ebx
jne 0x520eb1
test eax, eax
je 0x520eb1
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
jne 0x520eb1
mov eax, 1
mov dword [esp + 0x14], eax
jmp 0x520eb5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
push ecx
push str.index
push eax
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.0052ac80
mov esi, dword [esp + 0x98]
lea eax, [esp + 0x54]
push esi
push eax
call fcn.0052ad00
lea eax, [esi + 8]
push eax
push 0
push ebp
call fcn.00538390
mov edx, eax
add esp, 0x28
mov dword [esp + 0x10], edx
test edx, edx
je 0x521a4e
cmp dword [esp + 0x14], 1
jne 0x520f21
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x520f21
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebp
call fcn.00524240
add esp, 0xc
jmp 0x5219a2
test byte [edx + 0x1c], 0x80
je 0x520f5c
push edx
call fcn.0053fc50
add esp, 4
mov dword [esp + 0x2c], eax
jmp 0x520f5c
mov eax, dword [ebp + 0xec]
mov dword [esp + 0x10], eax
test eax, eax
je 0x521a4e
push dword [eax + 0x3c]
push edi
call fcn.00542770
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ebx, dword [edi + 0x10]
mov esi, dword [edx]
shl eax, 4
push 7
add ebx, eax
mov dword [esp + 0x3c], eax
push str.sqlite_
push esi
mov dword [esp + 0x48], ebx
call fcn.004d3bf0
add esp, 0xc
test eax, eax
jne 0x520fad
cmp byte [edi + 0xb1], al
jne 0x520fad
cmp dword [esp + 0x84], eax
je 0x520fad
push esi
push str.table__s_may_not_be_indexed
push ebp
call fcn.00524240
add esp, 0xc
xor ebx, ebx
jmp 0x5219a2
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x2b]
cmp al, 2
jne 0x520fcd
push str.views_may_not_be_indexed
push ebp
call fcn.00524240
add esp, 8
xor ebx, ebx
jmp 0x5219a2
cmp al, 1
jne 0x520fe6
push str.virtual_tables_may_not_be_indexed
push ebp
call fcn.00524240
add esp, 8
xor ebx, ebx
jmp 0x5219a2
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5210ab
push eax
push edi
call fcn.00539100
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
test esi, esi
je 0x52199e
mov eax, dword [esp + 0x10]
push dword [eax]
push str.index
push esi
push ebp
call fcn.0051dbd0
add esp, 0x10
test eax, eax
jne 0x52199e
cmp byte [ebp + 0xd0], 2
jae 0x52114c
cmp byte [edi + 0xb1], al
jne 0x521061
push eax
push esi
push edi
call fcn.0052a360
add esp, 0xc
test eax, eax
je 0x521061
mov ebx, esi
push ebx
push str.there_is_already_a_table_named__s
push ebp
call fcn.00524240
add esp, 0xc
jmp 0x5219a2
push dword [ebx]
push esi
push edi
call fcn.0052a290
add esp, 0xc
test eax, eax
je 0x5210e9
cmp dword [esp + 0x9c], 0
jne 0x521093
mov ebx, dword [esp + 0x18]
push ebx
push str.index__s_already_exists
push ebp
call fcn.00524240
add esp, 0xc
jmp 0x5219a2
push dword [esp + 0x14]
push ebp
call fcn.0051f0f0
push ebp
call fcn.0052c040
add esp, 0xc
jmp 0x52199e
mov eax, dword [ecx + 8]
mov ecx, 1
test eax, eax
je 0x5210bf
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x5210b7
push ecx
push esi
push str.sqlite_autoindex__s__d
push edi
call fcn.00538790
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
je 0x52199e
cmp byte [ebp + 0xd0], 0
je 0x5210e9
inc byte [esi + 7]
cmp byte [ebp + 0xd0], 2
jae 0x52114c
mov esi, dword [ebx]
mov eax, str.sqlite_temp_master
mov ebx, dword [esp + 0x14]
cmp ebx, 1
je 0x521107
mov eax, str.sqlite_master
push esi
push 0
push eax
push 0x12
push ebp
call fcn.00518a60
add esp, 0x14
test eax, eax
jne 0x52199e
mov eax, 1
cmp ebx, eax
jne 0x52112c
mov eax, 3
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
push dword [ebx]
push esi
push eax
push ebp
call fcn.00518a60
add esp, 0x14
test eax, eax
jne 0x52199e
jmp 0x521150
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x5211bc
movsx ecx, word [ebx + 0x22]
mov eax, dword [ebx + 4]
add ecx, ecx
push dword [eax + ecx*8 - 0x10]
or word [eax + ecx*8 - 2], 8
lea eax, [esp + 0x20]
push eax
call fcn.00547080
push 0
lea eax, [esp + 0x28]
push eax
push 0x3b
push edi
call fcn.00524940
push eax
push dword [ebp]
call fcn.00528c50
mov ebx, eax
add esp, 0x20
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x52199e
mov edx, dword [esp + 0x98]
mov ecx, dword [ebx]
lea eax, [edx + 1]
neg eax
lea ecx, [ecx + ecx*4]
sbb eax, eax
and eax, edx
mov byte [ebx + ecx*4 - 4], al
jmp 0x5211d7
push str.index
mov ebx, eax
push ebx
push ebp
call fcn.00528e20
add esp, 0xc
cmp dword [ebp + 0x24], 0
jne 0x52199e
mov ebx, dword [ebx]
test ebx, ebx
jle 0x52120d
mov esi, dword [esp + 0x1c]
add esi, 8
xor ebp, ebp
mov eax, dword [esi]
cmp byte [eax], 0x71
jne 0x5211fb
push dword [eax + 8]
call fcn.00546b80
inc ebp
add esp, 4
add ebp, eax
add esi, 0x14
dec ebx
jne 0x5211e6
mov esi, dword [esp + 0x18]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x78]
push esi
call fcn.00546b80
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x521226
movzx ecx, word [eax + 0x32]
jmp 0x52122b
mov ecx, 1
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x38]
inc eax
add eax, esi
push eax
mov eax, dword [esp + 0x24]
mov ax, word [eax]
add ax, cx
movzx eax, ax
push eax
push edi
call fcn.00516fd0
add esp, 0x10
mov ebx, eax
cmp byte [edi + 0x57], 0
jne 0x521946
mov ecx, dword [esp + 0x28]
mov dword [ebx], ecx
lea eax, [ecx + 1]
lea ecx, [esi + 1]
add eax, esi
push ecx
push dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
push dword [ebx]
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x98]
xor ecx, ecx
mov edx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
mov byte [ebx + 0x36], al
movzx eax, byte [esp + 0xa0]
setne cl
mov esi, dword [esp + 0x94]
and eax, 3
mov dword [ebx + 0xc], edx
and ecx, 1
shl ecx, 3
or ecx, eax
mov eax, dword [ebx + 0x38]
and eax, 0xfffffff4
or ecx, eax
mov dword [ebx + 0x38], ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + eax + 0xc]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
mov word [ebx + 0x32], ax
test esi, esi
je 0x5212f3
push 0
push esi
push 2
push edx
push ebp
call fcn.00541330
add esp, 0x14
mov dword [ebx + 0x24], esi
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x4c], 4
sbb eax, eax
neg eax
dec eax
cmp byte [ebp + 0xd0], 2
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
lea edx, [eax + 8]
mov dword [esp + 0x88], edx
jb 0x521329
mov dword [ebx + 0x28], eax
mov dword [esp + 0x1c], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x28], esi
cmp ax, word [ebx + 0x32]
jae 0x5214ab
jmp 0x521340
push dword [edx]
call fcn.00546b60
push 0
push dword [edx]
push 0x20
push dword [esp + 0x20]
push ebp
call fcn.00541330
add esp, 0x18
cmp dword [ebp + 0x24], 0
jne 0x521946
mov edx, dword [esp + 0x88]
push dword [edx]
call fcn.005296a0
add esp, 4
cmp byte [eax], 0xa7
je 0x5213b7
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0xec]
je 0x5214fd
cmp dword [ebx + 0x28], 0
jne 0x52139f
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x28], eax
mov dword [esp + 0x1c], 0
mov eax, dword [ebx + 4]
mov ecx, 0xfffffffe
mov edi, ecx
mov word [eax + esi*2], di
and dword [ebx + 0x38], 0xfffffff7
mov edi, dword [esp + 0x24]
jmp 0x5213fe
movsx ecx, word [eax + 0x20]
mov eax, dword [esp + 0x10]
test ecx, ecx
jns 0x5213c9
movsx ecx, word [eax + 0x20]
jmp 0x5213f7
mov eax, dword [eax + 4]
mov edx, ecx
add edx, edx
test byte [eax + edx*8 + 4], 0xf
jne 0x5213db
and dword [ebx + 0x38], 0xfffffff7
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test byte [eax + edx*8 + 0xe], 0x20
mov edx, dword [esp + 0x88]
je 0x5213f7
or dword [ebx + 0x38], 0x400
mov eax, dword [ebx + 4]
mov word [eax + esi*2], cx
mov esi, dword [edx]
cmp byte [esi], 0x71
jne 0x521431
mov esi, dword [esi + 8]
push esi
call fcn.00546b80
lea edi, [eax + 1]
push edi
push esi
push dword [esp + 0x40]
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x44]
add esp, 0x10
mov esi, eax
add eax, edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x34], eax
jmp 0x52144a
test ecx, ecx
js 0x52144e
mov eax, dword [esp + 0x10]
shl ecx, 4
add ecx, dword [eax + 4]
push ecx
call fcn.0051f2b0
add esp, 4
mov esi, eax
test esi, esi
jne 0x521453
mov esi, str.BINARY
cmp byte [edi + 0xb1], 0
jne 0x52146e
push esi
push ebp
call fcn.005381f0
add esp, 8
test eax, eax
je 0x521946
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x88]
mov dword [eax + ecx*4], esi
mov esi, dword [esp + 0x28]
mov cl, byte [edx + 8]
add edx, 0x14
mov eax, dword [ebx + 0x1c]
and cl, byte [esp + 0x3c]
mov dword [esp + 0x88], edx
mov byte [esi + eax], cl
inc esi
movzx eax, word [ebx + 0x32]
mov dword [esp + 0x28], esi
cmp esi, eax
jl 0x521340
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x52154a
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 0x32]
jae 0x52155e
mov edi, dword [esp + 0x28]
mov ebp, eax
jmp 0x5214d0
mov eax, dword [ebp + 4]
push esi
push ebp
movsx eax, word [eax + esi*2]
mov dword [esp + 0x90], eax
movzx eax, word [ebx + 0x32]
push eax
push ebx
call fcn.00501900
add esp, 0x10
test eax, eax
je 0x521510
mov eax, 0xffff
add word [ebx + 0x34], ax
jmp 0x521537
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebp
call fcn.00524240
add esp, 8
jmp 0x521946
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x88]
mov word [eax + edi*2], cx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebx + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + edi*4], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebx + 0x1c]
mov al, byte [esi + eax]
mov byte [edi + ecx], al
inc edi
movzx eax, word [ebp + 0x32]
inc esi
cmp esi, eax
jl 0x5214d0
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x24]
jmp 0x52155e
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [ebx + 0x20]
mov dword [eax + esi*4], str.BINARY
push ebx
call fcn.00522380
add esp, 4
cmp dword [ebp + 0xec], 0
jne 0x521579
push ebx
call fcn.004e6a20
add esp, 4
push ebx
call fcn.0050fad0
add esp, 4
cmp dword [esp + 0x84], 0
je 0x5215ec
mov edx, dword [esp + 0x10]
movzx ecx, word [ebx + 0x34]
movsx eax, word [edx + 0x22]
cmp ecx, eax
jl 0x5215ec
or dword [ebx + 0x38], 0x20
xor esi, esi
movsx eax, word [edx + 0x22]
mov dword [esp + 0x88], eax
test eax, eax
jle 0x5215ec
movzx eax, word [edx + 0x20]
movsx ecx, ax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
cmp esi, ecx
je 0x5215e1
push esi
push ebx
call fcn.00546e20
add esp, 8
test ax, ax
js 0x5215e8
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x3c]
inc esi
cmp esi, eax
jl 0x5215c3
jmp 0x5215ec
and dword [ebx + 0x38], 0xffffffdf
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0xec]
jne 0x52169a
mov esi, dword [eax + 8]
mov dword [esp + 0x88], esi
test esi, esi
je 0x52169a
movzx ecx, word [ebx + 0x32]
movzx eax, word [esi + 0x32]
cmp ax, cx
jne 0x521684
mov ecx, eax
xor edi, edi
mov dword [esp + 0x34], ecx
test ecx, ecx
jle 0x52167c
mov ebp, dword [esp + 0x88]
mov esi, dword [ebx + 4]
mov eax, dword [ebp + 4]
sub eax, esi
mov dword [esp + 0x3c], eax
lea ebx, [ebx]
mov ax, word [eax + esi]
cmp ax, word [esi]
jne 0x521671
mov eax, dword [ebx + 0x20]
push dword [eax + edi*4]
mov eax, dword [ebp + 0x20]
push dword [eax + edi*4]
call fcn.00546af0
mov ecx, dword [esp + 0x3c]
add esp, 8
test eax, eax
jne 0x521671
mov eax, dword [esp + 0x3c]
inc edi
add esi, 2
cmp edi, ecx
jl 0x521640
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x88]
cmp edi, ecx
je 0x5216fd
movzx ecx, word [ebx + 0x32]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x88], esi
test esi, esi
jne 0x521612
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp byte [ebp + 0xd0], 2
jae 0x521906
cmp byte [edi + 0xb1], 0
je 0x521790
mov esi, dword [esp + 0x84]
test esi, esi
je 0x521763
mov eax, dword [edi + 0xac]
push ebx
mov dword [ebx + 0x2c], eax
call fcn.00535130
add esp, 4
test eax, eax
je 0x521763
push str.invalid_rootpage
push ebp
call fcn.00524240
push 0x1ce08
call fcn.005205f0
add esp, 0xc
mov dword [ebp + 0xc], eax
jmp 0x521946
mov al, byte [esi + 0x36]
mov cl, byte [ebx + 0x36]
cmp al, cl
je 0x52172c
cmp al, 0xb
je 0x521720
cmp cl, 0xb
je 0x521720
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ebp
call fcn.00524240
add esp, 0xc
cmp byte [esi + 0x36], 0xb
jne 0x52172c
mov al, byte [ebx + 0x36]
mov byte [esi + 0x36], al
cmp byte [esp + 0xa0], 2
jne 0x521742
mov eax, dword [esi + 0x38]
and eax, 0xfffffffe
or eax, 2
mov dword [esi + 0x38], eax
cmp byte [ebp + 0xd0], 2
jb 0x521942
mov eax, dword [ebp + 0xf0]
mov dword [ebx + 0x14], eax
mov dword [ebp + 0xf0], ebx
jmp 0x52199e
mov eax, dword [ebx + 0x18]
push ebx
push dword [ebx]
add eax, 0x18
push eax
call fcn.00534a30
add esp, 0xc
test eax, eax
je 0x521787
push edi
call fcn.00539330
add esp, 4
jmp 0x521946
or dword [edi + 0x18], 1
jmp 0x52190d
test byte [eax + 0x1c], 0x80
je 0x5217a5
mov esi, dword [esp + 0x84]
test esi, esi
je 0x52190d
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x88], eax
test esi, esi
jne 0x5217de
cmp dword [ebp + 0x74], esi
jne 0x5217cb
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x5217cb
mov byte [ebp + 0x17], 1
push ebp
call fcn.0054be70
mov esi, eax
add esp, 4
test esi, esi
je 0x521946
push dword [esp + 0x14]
push 1
push ebp
call fcn.00519520
push 0xb6
push esi
call fcn.0054b340
push 2
push dword [esp + 0xa0]
mov dword [ebx + 0x2c], eax
push dword [esp + 0x30]
push 0x92
push esi
call fcn.0054b450
add esp, 0x28
cmp dword [esp + 0x90], 0
je 0x521860
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + 0xc8]
add eax, dword [ebp + 0xc4]
mov ecx, dword [ecx]
sub eax, ecx
cmp byte [ecx + eax - 1], 0x3b
jne 0x521839
dec eax
cmp dword [esp + 0x8c], 0
mov edx, section..rdata
je 0x52184d
mov edx, str._UNIQUE
push ecx
push eax
push edx
push str.CREATE_s_INDEX__.s
push edi
call fcn.00538790
add esp, 0x14
jmp 0x521862
xor eax, eax
mov ecx, dword [esp + 0x38]
push eax
push dword [esp + 0x8c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
push dword [eax]
mov eax, dword [edi + 0x10]
push dword [ebx]
push dword [ecx + eax]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push ebp
call fcn.00539170
mov eax, dword [esp + 0x94]
add esp, 0x1c
test eax, eax
je 0x5218a6
push eax
push edi
call fcn.00521e20
add esp, 8
cmp dword [esp + 0x84], 0
je 0x5218fa
push dword [esp + 0x88]
push ebx
push ebp
call fcn.005402d0
push dword [esp + 0x20]
push ebp
call fcn.0051db20
add esp, 0x14
push 0
push dword [ebx]
push str.name_q_AND_typeindex
push edi
call fcn.00538790
add esp, 0xc
push eax
push dword [esp + 0x1c]
push esi
call fcn.0054b6c0
push 1
push 0
push 0xa5
push esi
call fcn.0054b3f0
add esp, 0x20
push dword [ebx + 0x2c]
push esi
call fcn.00553e70
add esp, 8
mov esi, dword [esp + 0x84]
cmp byte [edi + 0xb1], 0
jne 0x52192b
test esi, esi
je 0x52192b
cmp byte [ebp + 0xd0], 2
jb 0x521946
mov dword [ebp + 0xf0], ebx
jmp 0x52199e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [ebx + 0x14], eax
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x18]
jmp 0x5219a6
mov edi, dword [esp + 0x24]
test ebx, ebx
je 0x52199e
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x52195b
push eax
push edi
call fcn.00527c90
add esp, 8
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x52196c
push eax
push edi
call fcn.004e95e0
add esp, 8
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x52197d
push eax
push edi
call fcn.00521e20
add esp, 8
test byte [ebx + 0x38], 0x10
je 0x521994
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x521994
push eax
push edi
call fcn.00521e20
add esp, 8
push ebx
push edi
call fcn.00521e20
add esp, 8
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 8]
add edx, 8
test ecx, ecx
je 0x5219bf
cmp byte [ecx + 0x36], 5
je 0x521a25
lea edx, [ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
jne 0x5219b0
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x94]
test esi, esi
je 0x5219dc
push esi
push edi
call fcn.00527c90
add esp, 8
test ebp, ebp
je 0x5219ea
push ebp
push edi
call fcn.004e95e0
add esp, 8
push dword [esp + 0x84]
push edi
call fcn.00545ad0
add esp, 8
test ebx, ebx
je 0x521afc
test edi, edi
je 0x521a9e
cmp dword [edi + 0x210], 0
je 0x521a5a
push ebx
push edi
call fcn.00506030
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x5219bf
lea esp, [esp]
cmp byte [eax + 0x36], 5
je 0x5219bf
mov dword [edx], eax
lea edx, [eax + 0x14]
mov eax, dword [edx]
mov dword [ecx + 0x14], eax
mov dword [edx], ecx
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x521a30
jmp 0x5219bf
mov ebp, dword [esp + 0x88]
jmp 0x5219c7
cmp ebx, dword [edi + 0x164]
jae 0x521a9e
cmp ebx, dword [edi + 0x15c]
jb 0x521a80
mov eax, dword [edi + 0x158]
mov dword [ebx], eax
mov dword [edi + 0x158], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp ebx, dword [edi + 0x160]
jb 0x521a9e
mov eax, dword [edi + 0x150]
mov dword [ebx], eax
mov dword [edi + 0x150], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp dword [0x5d72d8], 0
je 0x521af2
mov eax, dword [0x5e0280]
test eax, eax
je 0x521aba
push eax
call dword [0x5d7328]
add esp, 4
push ebx
call dword [0x5d7304]
sub dword [0x5e0208], eax
dec dword [0x5e022c]
push ebx
call dword [0x5d72fc]
mov eax, dword [0x5e0280]
add esp, 8
test eax, eax
je 0x521afc
push eax
call dword [0x5d7330]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push ebx
call dword [0x5d72fc]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret