Function at 0x503b60
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 0x5047de
cmp byte [ebp + 0xd0], 1
jne 0x503ba6
cmp byte [esp + 0xa0], 2
jne 0x5047de
push ebp
call fcn.00522ce0
add esp, 4
test eax, eax
jne 0x5047de
mov eax, dword [esp + 0x88]
push eax
push ebp
mov dword [esp + 0x24], eax
call fcn.00517680
add esp, 8
test eax, eax
jne 0x5047de
cmp dword [esp + 0x84], ebx
je 0x503cc6
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x30]
push eax
push esi
push dword [esp + 0x84]
push ebp
call fcn.0052a5a0
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
js 0x5047de
cmp byte [edi + 0xb1], bl
jne 0x503c45
push dword [esp + 0x84]
push ebp
call fcn.00528f20
add esp, 8
cmp dword [esi + 4], ebx
jne 0x503c41
test eax, eax
je 0x503c41
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
jne 0x503c41
mov eax, 1
mov dword [esp + 0x14], eax
jmp 0x503c45
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.0050da10
mov esi, dword [esp + 0x98]
lea eax, [esp + 0x54]
push esi
push eax
call fcn.0050da90
lea eax, [esi + 8]
push eax
push 0
push ebp
call fcn.0051b120
mov edx, eax
add esp, 0x28
mov dword [esp + 0x10], edx
test edx, edx
je 0x5047de
cmp dword [esp + 0x14], 1
jne 0x503cb1
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x503cb1
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebp
call fcn.00506fd0
add esp, 0xc
jmp 0x504732
test byte [edx + 0x1c], 0x80
je 0x503cec
push edx
call fcn.005229e0
add esp, 4
mov dword [esp + 0x2c], eax
jmp 0x503cec
mov eax, dword [ebp + 0xec]
mov dword [esp + 0x10], eax
test eax, eax
je 0x5047de
push dword [eax + 0x3c]
push edi
call fcn.00525500
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.004b6980
add esp, 0xc
test eax, eax
jne 0x503d3d
cmp byte [edi + 0xb1], al
jne 0x503d3d
cmp dword [esp + 0x84], eax
je 0x503d3d
push esi
push str.table__s_may_not_be_indexed
push ebp
call fcn.00506fd0
add esp, 0xc
xor ebx, ebx
jmp 0x504732
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x2b]
cmp al, 2
jne 0x503d5d
push str.views_may_not_be_indexed
push ebp
call fcn.00506fd0
add esp, 8
xor ebx, ebx
jmp 0x504732
cmp al, 1
jne 0x503d76
push str.virtual_tables_may_not_be_indexed
push ebp
call fcn.00506fd0
add esp, 8
xor ebx, ebx
jmp 0x504732
mov eax, dword [esp + 0x30]
test eax, eax
je 0x503e3b
push eax
push edi
call fcn.0051be90
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
test esi, esi
je 0x50472e
mov eax, dword [esp + 0x10]
push dword [eax]
push str.index
push esi
push ebp
call fcn.00500960
add esp, 0x10
test eax, eax
jne 0x50472e
cmp byte [ebp + 0xd0], 2
jae 0x503edc
cmp byte [edi + 0xb1], al
jne 0x503df1
push eax
push esi
push edi
call fcn.0050d0f0
add esp, 0xc
test eax, eax
je 0x503df1
mov ebx, esi
push ebx
push str.there_is_already_a_table_named__s
push ebp
call fcn.00506fd0
add esp, 0xc
jmp 0x504732
push dword [ebx]
push esi
push edi
call fcn.0050d020
add esp, 0xc
test eax, eax
je 0x503e79
cmp dword [esp + 0x9c], 0
jne 0x503e23
mov ebx, dword [esp + 0x18]
push ebx
push str.index__s_already_exists
push ebp
call fcn.00506fd0
add esp, 0xc
jmp 0x504732
push dword [esp + 0x14]
push ebp
call fcn.00501e80
push ebp
call fcn.0050edd0
add esp, 0xc
jmp 0x50472e
mov eax, dword [ecx + 8]
mov ecx, 1
test eax, eax
je 0x503e4f
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x503e47
push ecx
push esi
push str.sqlite_autoindex__s__d
push edi
call fcn.0051b520
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
je 0x50472e
cmp byte [ebp + 0xd0], 0
je 0x503e79
inc byte [esi + 7]
cmp byte [ebp + 0xd0], 2
jae 0x503edc
mov esi, dword [ebx]
mov eax, str.sqlite_temp_master
mov ebx, dword [esp + 0x14]
cmp ebx, 1
je 0x503e97
mov eax, str.sqlite_master
push esi
push 0
push eax
push 0x12
push ebp
call fcn.004fb7f0
add esp, 0x14
test eax, eax
jne 0x50472e
mov eax, 1
cmp ebx, eax
jne 0x503ebc
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.004fb7f0
add esp, 0x14
test eax, eax
jne 0x50472e
jmp 0x503ee0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x503f4c
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.00529e10
push 0
lea eax, [esp + 0x28]
push eax
push 0x3b
push edi
call fcn.005076d0
push eax
push dword [ebp]
call fcn.0050b9e0
mov ebx, eax
add esp, 0x20
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x50472e
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 0x503f67
push str.index
mov ebx, eax
push ebx
push ebp
call fcn.0050bbb0
add esp, 0xc
cmp dword [ebp + 0x24], 0
jne 0x50472e
mov ebx, dword [ebx]
test ebx, ebx
jle 0x503f9d
mov esi, dword [esp + 0x1c]
add esi, 8
xor ebp, ebp
mov eax, dword [esi]
cmp byte [eax], 0x71
jne 0x503f8b
push dword [eax + 8]
call fcn.00529910
inc ebp
add esp, 4
add ebp, eax
add esi, 0x14
dec ebx
jne 0x503f76
mov esi, dword [esp + 0x18]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x78]
push esi
call fcn.00529910
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x503fb6
movzx ecx, word [eax + 0x32]
jmp 0x503fbb
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.004f9d60
add esp, 0x10
mov ebx, eax
cmp byte [edi + 0x57], 0
jne 0x5046d6
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 0x504083
push 0
push esi
push 2
push edx
push ebp
call fcn.005240c0
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 0x5040b9
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 0x50423b
jmp 0x5040d0
push dword [edx]
call fcn.005298f0
push 0
push dword [edx]
push 0x20
push dword [esp + 0x20]
push ebp
call fcn.005240c0
add esp, 0x18
cmp dword [ebp + 0x24], 0
jne 0x5046d6
mov edx, dword [esp + 0x88]
push dword [edx]
call fcn.0050c430
add esp, 4
cmp byte [eax], 0xa7
je 0x504147
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0xec]
je 0x50428d
cmp dword [ebx + 0x28], 0
jne 0x50412f
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 0x50418e
movsx ecx, word [eax + 0x20]
mov eax, dword [esp + 0x10]
test ecx, ecx
jns 0x504159
movsx ecx, word [eax + 0x20]
jmp 0x504187
mov eax, dword [eax + 4]
mov edx, ecx
add edx, edx
test byte [eax + edx*8 + 4], 0xf
jne 0x50416b
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 0x504187
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 0x5041c1
mov esi, dword [esi + 8]
push esi
call fcn.00529910
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 0x5041da
test ecx, ecx
js 0x5041de
mov eax, dword [esp + 0x10]
shl ecx, 4
add ecx, dword [eax + 4]
push ecx
call fcn.00502040
add esp, 4
mov esi, eax
test esi, esi
jne 0x5041e3
mov esi, 0x5812f4
cmp byte [edi + 0xb1], 0
jne 0x5041fe
push esi
push ebp
call fcn.0051af80
add esp, 8
test eax, eax
je 0x5046d6
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 0x5040d0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5042da
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 0x32]
jae 0x5042ee
mov edi, dword [esp + 0x28]
mov ebp, eax
jmp 0x504260
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.004e4690
add esp, 0x10
test eax, eax
je 0x5042a0
mov eax, 0xffff
add word [ebx + 0x34], ax
jmp 0x5042c7
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebp
call fcn.00506fd0
add esp, 8
jmp 0x5046d6
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 0x504260
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x24]
jmp 0x5042ee
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [ebx + 0x20]
mov dword [eax + esi*4], 0x5812f4
push ebx
call fcn.00505110
add esp, 4
cmp dword [ebp + 0xec], 0
jne 0x504309
push ebx
call fcn.004c97b0
add esp, 4
push ebx
call fcn.004f2860
add esp, 4
cmp dword [esp + 0x84], 0
je 0x50437c
mov edx, dword [esp + 0x10]
movzx ecx, word [ebx + 0x34]
movsx eax, word [edx + 0x22]
cmp ecx, eax
jl 0x50437c
or dword [ebx + 0x38], 0x20
xor esi, esi
movsx eax, word [edx + 0x22]
mov dword [esp + 0x88], eax
test eax, eax
jle 0x50437c
movzx eax, word [edx + 0x20]
movsx ecx, ax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
cmp esi, ecx
je 0x504371
push esi
push ebx
call fcn.00529bb0
add esp, 8
test ax, ax
js 0x504378
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x3c]
inc esi
cmp esi, eax
jl 0x504353
jmp 0x50437c
and dword [ebx + 0x38], 0xffffffdf
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0xec]
jne 0x50442a
mov esi, dword [eax + 8]
mov dword [esp + 0x88], esi
test esi, esi
je 0x50442a
movzx ecx, word [ebx + 0x32]
movzx eax, word [esi + 0x32]
cmp ax, cx
jne 0x504414
mov ecx, eax
xor edi, edi
mov dword [esp + 0x34], ecx
test ecx, ecx
jle 0x50440c
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 0x504401
mov eax, dword [ebx + 0x20]
push dword [eax + edi*4]
mov eax, dword [ebp + 0x20]
push dword [eax + edi*4]
call fcn.00529880
mov ecx, dword [esp + 0x3c]
add esp, 8
test eax, eax
jne 0x504401
mov eax, dword [esp + 0x3c]
inc edi
add esi, 2
cmp edi, ecx
jl 0x5043d0
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x88]
cmp edi, ecx
je 0x50448d
movzx ecx, word [ebx + 0x32]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x88], esi
test esi, esi
jne 0x5043a2
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp byte [ebp + 0xd0], 2
jae 0x504696
cmp byte [edi + 0xb1], 0
je 0x504520
mov esi, dword [esp + 0x84]
test esi, esi
je 0x5044f3
mov eax, dword [edi + 0xac]
push ebx
mov dword [ebx + 0x2c], eax
call fcn.00517ec0
add esp, 4
test eax, eax
je 0x5044f3
push str.invalid_rootpage
push ebp
call fcn.00506fd0
push 0x1ce08
call fcn.00503380
add esp, 0xc
mov dword [ebp + 0xc], eax
jmp 0x5046d6
mov al, byte [esi + 0x36]
mov cl, byte [ebx + 0x36]
cmp al, cl
je 0x5044bc
cmp al, 0xb
je 0x5044b0
cmp cl, 0xb
je 0x5044b0
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ebp
call fcn.00506fd0
add esp, 0xc
cmp byte [esi + 0x36], 0xb
jne 0x5044bc
mov al, byte [ebx + 0x36]
mov byte [esi + 0x36], al
cmp byte [esp + 0xa0], 2
jne 0x5044d2
mov eax, dword [esi + 0x38]
and eax, 0xfffffffe
or eax, 2
mov dword [esi + 0x38], eax
cmp byte [ebp + 0xd0], 2
jb 0x5046d2
mov eax, dword [ebp + 0xf0]
mov dword [ebx + 0x14], eax
mov dword [ebp + 0xf0], ebx
jmp 0x50472e
mov eax, dword [ebx + 0x18]
push ebx
push dword [ebx]
add eax, 0x18
push eax
call fcn.005177c0
add esp, 0xc
test eax, eax
je 0x504517
push edi
call fcn.0051c0c0
add esp, 4
jmp 0x5046d6
or dword [edi + 0x18], 1
jmp 0x50469d
test byte [eax + 0x1c], 0x80
je 0x504535
mov esi, dword [esp + 0x84]
test esi, esi
je 0x50469d
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x88], eax
test esi, esi
jne 0x50456e
cmp dword [ebp + 0x74], esi
jne 0x50455b
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x50455b
mov byte [ebp + 0x17], 1
push ebp
call fcn.0052ec00
mov esi, eax
add esp, 4
test esi, esi
je 0x5046d6
push dword [esp + 0x14]
push 1
push ebp
call fcn.004fc2b0
push 0xb6
push esi
call fcn.0052e0d0
push 2
push dword [esp + 0xa0]
mov dword [ebx + 0x2c], eax
push dword [esp + 0x30]
push 0x92
push esi
call fcn.0052e1e0
add esp, 0x28
cmp dword [esp + 0x90], 0
je 0x5045f0
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 0x5045c9
dec eax
cmp dword [esp + 0x8c], 0
mov edx, 0x56dd34
je 0x5045dd
mov edx, str._UNIQUE
push ecx
push eax
push edx
push str.CREATE_s_INDEX__.s
push edi
call fcn.0051b520
add esp, 0x14
jmp 0x5045f2
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.0051bf00
mov eax, dword [esp + 0x94]
add esp, 0x1c
test eax, eax
je 0x504636
push eax
push edi
call fcn.00504bb0
add esp, 8
cmp dword [esp + 0x84], 0
je 0x50468a
push dword [esp + 0x88]
push ebx
push ebp
call fcn.00523060
push dword [esp + 0x20]
push ebp
call fcn.005008b0
add esp, 0x14
push 0
push dword [ebx]
push str.name_q_AND_typeindex
push edi
call fcn.0051b520
add esp, 0xc
push eax
push dword [esp + 0x1c]
push esi
call fcn.0052e450
push 1
push 0
push 0xa5
push esi
call fcn.0052e180
add esp, 0x20
push dword [ebx + 0x2c]
push esi
call fcn.00536c00
add esp, 8
mov esi, dword [esp + 0x84]
cmp byte [edi + 0xb1], 0
jne 0x5046bb
test esi, esi
je 0x5046bb
cmp byte [ebp + 0xd0], 2
jb 0x5046d6
mov dword [ebp + 0xf0], ebx
jmp 0x50472e
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 0x504736
mov edi, dword [esp + 0x24]
test ebx, ebx
je 0x50472e
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x5046eb
push eax
push edi
call fcn.0050aa20
add esp, 8
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x5046fc
push eax
push edi
call fcn.004cc370
add esp, 8
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x50470d
push eax
push edi
call fcn.00504bb0
add esp, 8
test byte [ebx + 0x38], 0x10
je 0x504724
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x504724
push eax
push edi
call fcn.00504bb0
add esp, 8
push ebx
push edi
call fcn.00504bb0
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 0x50474f
cmp byte [ecx + 0x36], 5
je 0x5047b5
lea edx, [ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
jne 0x504740
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x94]
test esi, esi
je 0x50476c
push esi
push edi
call fcn.0050aa20
add esp, 8
test ebp, ebp
je 0x50477a
push ebp
push edi
call fcn.004cc370
add esp, 8
push dword [esp + 0x84]
push edi
call fcn.00528860
add esp, 8
test ebx, ebx
je 0x50488c
test edi, edi
je 0x50482e
cmp dword [edi + 0x210], 0
je 0x5047ea
push ebx
push edi
call fcn.004e8dc0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x50474f
lea esp, [esp]
cmp byte [eax + 0x36], 5
je 0x50474f
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 0x5047c0
jmp 0x50474f
mov ebp, dword [esp + 0x88]
jmp 0x504757
cmp ebx, dword [edi + 0x164]
jae 0x50482e
cmp ebx, dword [edi + 0x15c]
jb 0x504810
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 0x50482e
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 [0x7475d8], 0
je 0x504882
mov eax, dword [0x74c528]
test eax, eax
je 0x50484a
push eax
call dword [0x747628]
add esp, 4
push ebx
call dword [0x747604]
sub dword [0x74c4b0], eax
dec dword [0x74c4d4]
push ebx
call dword [0x7475fc]
mov eax, dword [0x74c528]
add esp, 8
test eax, eax
je 0x50488c
push eax
call dword [0x747630]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push ebx
call dword [0x7475fc]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret