Function at 0x503d60
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 0x5049de
cmp byte [ebp + 0xd0], 1
jne 0x503da6
cmp byte [esp + 0xa0], 2
jne 0x5049de
push ebp
call fcn.00522ee0
add esp, 4
test eax, eax
jne 0x5049de
mov eax, dword [esp + 0x88]
push eax
push ebp
mov dword [esp + 0x24], eax
call fcn.00517880
add esp, 8
test eax, eax
jne 0x5049de
cmp dword [esp + 0x84], ebx
je 0x503ec6
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x30]
push eax
push esi
push dword [esp + 0x84]
push ebp
call fcn.0052a7a0
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
js 0x5049de
cmp byte [edi + 0xb1], bl
jne 0x503e45
push dword [esp + 0x84]
push ebp
call fcn.00529120
add esp, 8
cmp dword [esi + 4], ebx
jne 0x503e41
test eax, eax
je 0x503e41
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
jne 0x503e41
mov eax, 1
mov dword [esp + 0x14], eax
jmp 0x503e45
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.0050dc10
mov esi, dword [esp + 0x98]
lea eax, [esp + 0x54]
push esi
push eax
call fcn.0050dc90
lea eax, [esi + 8]
push eax
push 0
push ebp
call fcn.0051b320
mov edx, eax
add esp, 0x28
mov dword [esp + 0x10], edx
test edx, edx
je 0x5049de
cmp dword [esp + 0x14], 1
jne 0x503eb1
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x503eb1
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebp
call fcn.005071d0
add esp, 0xc
jmp 0x504932
test byte [edx + 0x1c], 0x80
je 0x503eec
push edx
call fcn.00522be0
add esp, 4
mov dword [esp + 0x2c], eax
jmp 0x503eec
mov eax, dword [ebp + 0xec]
mov dword [esp + 0x10], eax
test eax, eax
je 0x5049de
push dword [eax + 0x3c]
push edi
call fcn.00525700
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.004b6b80
add esp, 0xc
test eax, eax
jne 0x503f3d
cmp byte [edi + 0xb1], al
jne 0x503f3d
cmp dword [esp + 0x84], eax
je 0x503f3d
push esi
push str.table__s_may_not_be_indexed
push ebp
call fcn.005071d0
add esp, 0xc
xor ebx, ebx
jmp 0x504932
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x2b]
cmp al, 2
jne 0x503f5d
push str.views_may_not_be_indexed
push ebp
call fcn.005071d0
add esp, 8
xor ebx, ebx
jmp 0x504932
cmp al, 1
jne 0x503f76
push str.virtual_tables_may_not_be_indexed
push ebp
call fcn.005071d0
add esp, 8
xor ebx, ebx
jmp 0x504932
mov eax, dword [esp + 0x30]
test eax, eax
je 0x50403b
push eax
push edi
call fcn.0051c090
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
test esi, esi
je 0x50492e
mov eax, dword [esp + 0x10]
push dword [eax]
push str.index
push esi
push ebp
call fcn.00500b60
add esp, 0x10
test eax, eax
jne 0x50492e
cmp byte [ebp + 0xd0], 2
jae 0x5040dc
cmp byte [edi + 0xb1], al
jne 0x503ff1
push eax
push esi
push edi
call fcn.0050d2f0
add esp, 0xc
test eax, eax
je 0x503ff1
mov ebx, esi
push ebx
push str.there_is_already_a_table_named__s
push ebp
call fcn.005071d0
add esp, 0xc
jmp 0x504932
push dword [ebx]
push esi
push edi
call fcn.0050d220
add esp, 0xc
test eax, eax
je 0x504079
cmp dword [esp + 0x9c], 0
jne 0x504023
mov ebx, dword [esp + 0x18]
push ebx
push str.index__s_already_exists
push ebp
call fcn.005071d0
add esp, 0xc
jmp 0x504932
push dword [esp + 0x14]
push ebp
call fcn.00502080
push ebp
call fcn.0050efd0
add esp, 0xc
jmp 0x50492e
mov eax, dword [ecx + 8]
mov ecx, 1
test eax, eax
je 0x50404f
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x504047
push ecx
push esi
push str.sqlite_autoindex__s__d
push edi
call fcn.0051b720
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
je 0x50492e
cmp byte [ebp + 0xd0], 0
je 0x504079
inc byte [esi + 7]
cmp byte [ebp + 0xd0], 2
jae 0x5040dc
mov esi, dword [ebx]
mov eax, str.sqlite_temp_master
mov ebx, dword [esp + 0x14]
cmp ebx, 1
je 0x504097
mov eax, str.sqlite_master
push esi
push 0
push eax
push 0x12
push ebp
call fcn.004fb9f0
add esp, 0x14
test eax, eax
jne 0x50492e
mov eax, 1
cmp ebx, eax
jne 0x5040bc
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.004fb9f0
add esp, 0x14
test eax, eax
jne 0x50492e
jmp 0x5040e0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x50414c
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.0052a010
push 0
lea eax, [esp + 0x28]
push eax
push 0x3b
push edi
call fcn.005078d0
push eax
push dword [ebp]
call fcn.0050bbe0
mov ebx, eax
add esp, 0x20
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x50492e
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 0x504167
push str.index
mov ebx, eax
push ebx
push ebp
call fcn.0050bdb0
add esp, 0xc
cmp dword [ebp + 0x24], 0
jne 0x50492e
mov ebx, dword [ebx]
test ebx, ebx
jle 0x50419d
mov esi, dword [esp + 0x1c]
add esi, 8
xor ebp, ebp
mov eax, dword [esi]
cmp byte [eax], 0x71
jne 0x50418b
push dword [eax + 8]
call fcn.00529b10
inc ebp
add esp, 4
add ebp, eax
add esi, 0x14
dec ebx
jne 0x504176
mov esi, dword [esp + 0x18]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x78]
push esi
call fcn.00529b10
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5041b6
movzx ecx, word [eax + 0x32]
jmp 0x5041bb
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.004f9f60
add esp, 0x10
mov ebx, eax
cmp byte [edi + 0x57], 0
jne 0x5048d6
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 0x504283
push 0
push esi
push 2
push edx
push ebp
call fcn.005242c0
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 0x5042b9
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 0x50443b
jmp 0x5042d0
push dword [edx]
call fcn.00529af0
push 0
push dword [edx]
push 0x20
push dword [esp + 0x20]
push ebp
call fcn.005242c0
add esp, 0x18
cmp dword [ebp + 0x24], 0
jne 0x5048d6
mov edx, dword [esp + 0x88]
push dword [edx]
call fcn.0050c630
add esp, 4
cmp byte [eax], 0xa7
je 0x504347
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0xec]
je 0x50448d
cmp dword [ebx + 0x28], 0
jne 0x50432f
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 0x50438e
movsx ecx, word [eax + 0x20]
mov eax, dword [esp + 0x10]
test ecx, ecx
jns 0x504359
movsx ecx, word [eax + 0x20]
jmp 0x504387
mov eax, dword [eax + 4]
mov edx, ecx
add edx, edx
test byte [eax + edx*8 + 4], 0xf
jne 0x50436b
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 0x504387
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 0x5043c1
mov esi, dword [esi + 8]
push esi
call fcn.00529b10
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 0x5043da
test ecx, ecx
js 0x5043de
mov eax, dword [esp + 0x10]
shl ecx, 4
add ecx, dword [eax + 4]
push ecx
call fcn.00502240
add esp, 4
mov esi, eax
test esi, esi
jne 0x5043e3
mov esi, 0x5812f4
cmp byte [edi + 0xb1], 0
jne 0x5043fe
push esi
push ebp
call fcn.0051b180
add esp, 8
test eax, eax
je 0x5048d6
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 0x5042d0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5044da
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 0x32]
jae 0x5044ee
mov edi, dword [esp + 0x28]
mov ebp, eax
jmp 0x504460
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.004e4890
add esp, 0x10
test eax, eax
je 0x5044a0
mov eax, 0xffff
add word [ebx + 0x34], ax
jmp 0x5044c7
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebp
call fcn.005071d0
add esp, 8
jmp 0x5048d6
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 0x504460
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x24]
jmp 0x5044ee
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.00505310
add esp, 4
cmp dword [ebp + 0xec], 0
jne 0x504509
push ebx
call fcn.004c99b0
add esp, 4
push ebx
call fcn.004f2a60
add esp, 4
cmp dword [esp + 0x84], 0
je 0x50457c
mov edx, dword [esp + 0x10]
movzx ecx, word [ebx + 0x34]
movsx eax, word [edx + 0x22]
cmp ecx, eax
jl 0x50457c
or dword [ebx + 0x38], 0x20
xor esi, esi
movsx eax, word [edx + 0x22]
mov dword [esp + 0x88], eax
test eax, eax
jle 0x50457c
movzx eax, word [edx + 0x20]
movsx ecx, ax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
cmp esi, ecx
je 0x504571
push esi
push ebx
call fcn.00529db0
add esp, 8
test ax, ax
js 0x504578
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x3c]
inc esi
cmp esi, eax
jl 0x504553
jmp 0x50457c
and dword [ebx + 0x38], 0xffffffdf
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0xec]
jne 0x50462a
mov esi, dword [eax + 8]
mov dword [esp + 0x88], esi
test esi, esi
je 0x50462a
movzx ecx, word [ebx + 0x32]
movzx eax, word [esi + 0x32]
cmp ax, cx
jne 0x504614
mov ecx, eax
xor edi, edi
mov dword [esp + 0x34], ecx
test ecx, ecx
jle 0x50460c
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 0x504601
mov eax, dword [ebx + 0x20]
push dword [eax + edi*4]
mov eax, dword [ebp + 0x20]
push dword [eax + edi*4]
call fcn.00529a80
mov ecx, dword [esp + 0x3c]
add esp, 8
test eax, eax
jne 0x504601
mov eax, dword [esp + 0x3c]
inc edi
add esi, 2
cmp edi, ecx
jl 0x5045d0
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x88]
cmp edi, ecx
je 0x50468d
movzx ecx, word [ebx + 0x32]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x88], esi
test esi, esi
jne 0x5045a2
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp byte [ebp + 0xd0], 2
jae 0x504896
cmp byte [edi + 0xb1], 0
je 0x504720
mov esi, dword [esp + 0x84]
test esi, esi
je 0x5046f3
mov eax, dword [edi + 0xac]
push ebx
mov dword [ebx + 0x2c], eax
call fcn.005180c0
add esp, 4
test eax, eax
je 0x5046f3
push str.invalid_rootpage
push ebp
call fcn.005071d0
push 0x1ce08
call fcn.00503580
add esp, 0xc
mov dword [ebp + 0xc], eax
jmp 0x5048d6
mov al, byte [esi + 0x36]
mov cl, byte [ebx + 0x36]
cmp al, cl
je 0x5046bc
cmp al, 0xb
je 0x5046b0
cmp cl, 0xb
je 0x5046b0
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ebp
call fcn.005071d0
add esp, 0xc
cmp byte [esi + 0x36], 0xb
jne 0x5046bc
mov al, byte [ebx + 0x36]
mov byte [esi + 0x36], al
cmp byte [esp + 0xa0], 2
jne 0x5046d2
mov eax, dword [esi + 0x38]
and eax, 0xfffffffe
or eax, 2
mov dword [esi + 0x38], eax
cmp byte [ebp + 0xd0], 2
jb 0x5048d2
mov eax, dword [ebp + 0xf0]
mov dword [ebx + 0x14], eax
mov dword [ebp + 0xf0], ebx
jmp 0x50492e
mov eax, dword [ebx + 0x18]
push ebx
push dword [ebx]
add eax, 0x18
push eax
call fcn.005179c0
add esp, 0xc
test eax, eax
je 0x504717
push edi
call fcn.0051c2c0
add esp, 4
jmp 0x5048d6
or dword [edi + 0x18], 1
jmp 0x50489d
test byte [eax + 0x1c], 0x80
je 0x504735
mov esi, dword [esp + 0x84]
test esi, esi
je 0x50489d
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x88], eax
test esi, esi
jne 0x50476e
cmp dword [ebp + 0x74], esi
jne 0x50475b
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x50475b
mov byte [ebp + 0x17], 1
push ebp
call fcn.0052ee00
mov esi, eax
add esp, 4
test esi, esi
je 0x5048d6
push dword [esp + 0x14]
push 1
push ebp
call fcn.004fc4b0
push 0xb6
push esi
call fcn.0052e2d0
push 2
push dword [esp + 0xa0]
mov dword [ebx + 0x2c], eax
push dword [esp + 0x30]
push 0x92
push esi
call fcn.0052e3e0
add esp, 0x28
cmp dword [esp + 0x90], 0
je 0x5047f0
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 0x5047c9
dec eax
cmp dword [esp + 0x8c], 0
mov edx, 0x56dd34
je 0x5047dd
mov edx, str._UNIQUE
push ecx
push eax
push edx
push str.CREATE_s_INDEX__.s
push edi
call fcn.0051b720
add esp, 0x14
jmp 0x5047f2
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.0051c100
mov eax, dword [esp + 0x94]
add esp, 0x1c
test eax, eax
je 0x504836
push eax
push edi
call fcn.00504db0
add esp, 8
cmp dword [esp + 0x84], 0
je 0x50488a
push dword [esp + 0x88]
push ebx
push ebp
call fcn.00523260
push dword [esp + 0x20]
push ebp
call fcn.00500ab0
add esp, 0x14
push 0
push dword [ebx]
push str.name_q_AND_typeindex
push edi
call fcn.0051b720
add esp, 0xc
push eax
push dword [esp + 0x1c]
push esi
call fcn.0052e650
push 1
push 0
push 0xa5
push esi
call fcn.0052e380
add esp, 0x20
push dword [ebx + 0x2c]
push esi
call fcn.00536e00
add esp, 8
mov esi, dword [esp + 0x84]
cmp byte [edi + 0xb1], 0
jne 0x5048bb
test esi, esi
je 0x5048bb
cmp byte [ebp + 0xd0], 2
jb 0x5048d6
mov dword [ebp + 0xf0], ebx
jmp 0x50492e
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 0x504936
mov edi, dword [esp + 0x24]
test ebx, ebx
je 0x50492e
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x5048eb
push eax
push edi
call fcn.0050ac20
add esp, 8
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x5048fc
push eax
push edi
call fcn.004cc570
add esp, 8
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x50490d
push eax
push edi
call fcn.00504db0
add esp, 8
test byte [ebx + 0x38], 0x10
je 0x504924
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x504924
push eax
push edi
call fcn.00504db0
add esp, 8
push ebx
push edi
call fcn.00504db0
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 0x50494f
cmp byte [ecx + 0x36], 5
je 0x5049b5
lea edx, [ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
jne 0x504940
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x94]
test esi, esi
je 0x50496c
push esi
push edi
call fcn.0050ac20
add esp, 8
test ebp, ebp
je 0x50497a
push ebp
push edi
call fcn.004cc570
add esp, 8
push dword [esp + 0x84]
push edi
call fcn.00528a60
add esp, 8
test ebx, ebx
je 0x504a8c
test edi, edi
je 0x504a2e
cmp dword [edi + 0x210], 0
je 0x5049ea
push ebx
push edi
call fcn.004e8fc0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x50494f
lea esp, [esp]
cmp byte [eax + 0x36], 5
je 0x50494f
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 0x5049c0
jmp 0x50494f
mov ebp, dword [esp + 0x88]
jmp 0x504957
cmp ebx, dword [edi + 0x164]
jae 0x504a2e
cmp ebx, dword [edi + 0x15c]
jb 0x504a10
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 0x504a2e
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 [0x77f9b8], 0
je 0x504a82
mov eax, dword [0x784970]
test eax, eax
je 0x504a4a
push eax
call dword [0x77fa08]
add esp, 4
push ebx
call dword [0x77f9e4]
sub dword [0x7848f8], eax
dec dword [0x78491c]
push ebx
call dword [0x77f9dc]
mov eax, dword [0x784970]
add esp, 8
test eax, eax
je 0x504a8c
push eax
call dword [0x77fa10]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push ebx
call dword [0x77f9dc]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret