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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, ecx
xor eax, eax
push esi
push edi
mov edi, edx
mov dword [esp + 0x24], ebp
mov ebx, dword [ebp]
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], eax
cmp byte [ebx + 0x41], al
jne 0x4bcfae
cmp byte [ebp + 0x1bf], al
jne 0x4bcfae
cmp dword [ebp + 0x40], eax
jg 0x4bcfae
cmp byte [ebx + 0x91], al
jne 0x4bcfb9
lea edx, [ebp + 4]
mov ecx, ebx
call fcn.004cf090
test eax, eax
je 0x4bcfb9
inc dword [ebp + 0x40]
mov dword [ebp + 0xc], eax
mov ebx, dword [esp + 0x78]
xor esi, esi
jmp 0x4bd767
cmp dword [esp + 0x74], 0
je 0x4bd0a0
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x38]
push eax
push esi
mov edx, edi
mov ecx, ebp
call fcn.004b9fb0
mov edi, eax
add esp, 8
mov dword [esp + 0x28], edi
test edi, edi
js 0x4bcfae
cmp byte [ebx + 0x91], 0
jne 0x4bd017
mov edx, dword [esp + 0x74]
mov ecx, ebp
call fcn.004bfd00
cmp dword [esi + 4], 0
jne 0x4bd017
test eax, eax
je 0x4bd017
mov ecx, dword [ebx + 0x10]
mov eax, dword [eax + 0x40]
cmp eax, dword [ecx + 0x1c]
mov eax, 1
cmove edi, eax
mov dword [esp + 0x28], edi
push dword [esp + 0x38]
mov edx, ebp
lea ecx, [esp + 0x54]
push str.index
push edi
call fcn.004b87e0
mov esi, dword [esp + 0x80]
add esp, 0xc
mov edx, esi
call fcn.004b8820
lea eax, [esi + 8]
xor edx, edx
push eax
mov ecx, ebp
call fcn.004b94c0
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4bcfae
mov edx, dword [esp + 0x28]
cmp edx, 1
jne 0x4bd08d
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edi + 0x40]
je 0x4bd08d
push dword [edi]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebp
call fcn.00483840
mov ebx, dword [esp + 0x84]
add esp, 0xc
xor esi, esi
jmp 0x4bd767
test byte [edi + 0x2a], 0x20
je 0x4bd0c2
mov ecx, edi
call fcn.004ba0d0
mov dword [esp + 0x34], eax
jmp 0x4bd0c2
mov edi, dword [ebp + 0x1e0]
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4bcfae
mov edx, dword [edi + 0x40]
mov ecx, ebx
call fcn.004cf2f0
mov edx, eax
mov dword [esp + 0x28], edx
mov esi, dword [ebx + 0x10]
mov eax, edx
mov ebx, dword [edi]
mov edx, 7
shl eax, 4
add esi, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], esi
test ebx, ebx
je 0x4bd1ab
mov esi, ebx
mov edi, str.sqlite_
nop word [eax + eax]
mov al, byte [esi]
dec edx
test al, al
je 0x4bd112
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x6ded78]
cmp al, byte [ecx + 0x6ded78]
jne 0x4bd112
inc esi
inc edi
test edx, edx
jg 0x4bd0f0
dec edx
test edx, edx
js 0x4bd132
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x6ded78]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x6ded78]
sub eax, ecx
jne 0x4bd1b1
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x91], 0
jne 0x4bd1b5
lea esi, [ebx + 7]
mov edx, 9
test esi, esi
je 0x4bd18e
mov edi, str.altertab_
mov al, byte [esi]
dec edx
test al, al
je 0x4bd172
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x6ded78]
cmp al, byte [ecx + 0x6ded78]
jne 0x4bd172
inc esi
inc edi
test edx, edx
jg 0x4bd150
dec edx
test edx, edx
js 0x4bd1b1
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x6ded78]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x6ded78]
sub eax, ecx
je 0x4bd1b1
push ebx
push str.table__s_may_not_be_indexed
push ebp
call fcn.00483840
mov ebx, dword [esp + 0x84]
add esp, 0xc
xor esi, esi
jmp 0x4bd767
mov edx, dword [esp + 0x18]
jmp 0x4bd1bd
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
cmp dword [edi + 0xc], 0
je 0x4bd1df
push str.views_may_not_be_indexed
push ebp
call fcn.00483840
mov ebx, dword [esp + 0x80]
add esp, 8
xor esi, esi
jmp 0x4bd767
test byte [edi + 0x2a], 0x10
je 0x4bd201
push str.virtual_tables_may_not_be_indexed
push ebp
call fcn.00483840
mov ebx, dword [esp + 0x80]
add esp, 8
xor esi, esi
jmp 0x4bd767
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4bd2c6
mov ebx, dword [esp + 0x18]
mov edx, eax
mov ecx, ebx
call fcn.004b9dd0
mov dword [esp + 0x20], eax
test eax, eax
je 0x4bcfae
mov edx, eax
mov ecx, ebp
call fcn.004ba030
test eax, eax
jne 0x4bcfae
cmp byte [ebx + 0x91], al
jne 0x4bd272
mov edx, dword [esp + 0x20]
mov ecx, ebx
push eax
call fcn.004b9320
add esp, 4
test eax, eax
je 0x4bd272
push dword [esp + 0x20]
push str.there_is_already_a_table_named__s
push ebp
call fcn.00483840
mov ebx, dword [esp + 0x84]
add esp, 0xc
xor esi, esi
jmp 0x4bd767
push dword [esi]
mov edx, dword [esp + 0x24]
mov ecx, ebx
call fcn.004b9530
add esp, 4
test eax, eax
je 0x4bd2fa
cmp dword [esp + 0x8c], 0
jne 0x4bd2b0
push dword [esp + 0x20]
push str.index__s_already_exists
push ebp
call fcn.00483840
mov ebx, dword [esp + 0x84]
add esp, 0xc
xor esi, esi
jmp 0x4bd767
mov edx, dword [esp + 0x28]
mov ecx, ebp
call fcn.004be9b0
mov ebx, dword [esp + 0x78]
xor esi, esi
jmp 0x4bd767
mov eax, dword [edi + 8]
mov ecx, 1
test eax, eax
je 0x4bd2da
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4bd2d2
push ecx
push ebx
push str.sqlite_autoindex__s__d
push edx
call fcn.00482d00
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x4bcfae
jmp 0x4bd2fe
mov ebx, dword [esp + 0x20]
mov esi, dword [esi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x28], 1
mov eax, str.sqlite_master
push esi
cmove eax, ecx
mov edx, 0x12
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x58], eax
call fcn.004b8c70
add esp, 0xc
test eax, eax
jne 0x4bcfae
xor edx, edx
mov ecx, ebp
cmp dword [esp + 0x28], 1
push esi
push dword [edi]
sete dl
push ebx
lea edx, [edx*2 + 1]
call fcn.004b8c70
add esp, 0xc
test eax, eax
jne 0x4bcfae
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x2c], ebx
test ebx, ebx
jne 0x4bd419
movsx eax, word [edi + 0x22]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*8 - 0x18]
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.00483750
mov ecx, dword [esp + 0x18]
mov edi, eax
push 0
lea ebx, [edi + 1]
lea ebp, [ebx + 0x30]
push ebp
call fcn.00481060
mov esi, eax
add esp, 8
test esi, esi
je 0x4bd3ea
push ebp
push 0
push esi
call fcn.006440e0
or eax, 0xffffffff
mov byte [esi], 0x1b
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
jne 0x4bd3c4
or dword [esi + 4], 0x400
mov dword [esi + 8], ebx
jmp 0x4bd3e3
lea eax, [esi + 0x30]
mov dword [esi + 8], eax
test edi, edi
je 0x4bd3df
push edi
push dword [esp + 0x30]
push eax
call fcn.006435e0
mov eax, dword [esi + 8]
add esp, 0xc
mov byte [edi + eax], 0
mov dword [esi + 0x18], 1
mov ebp, dword [esp + 0x24]
xor edx, edx
push esi
mov ecx, ebp
call fcn.004b10b0
mov ebx, eax
mov dword [esp + 0x30], eax
add esp, 4
test ebx, ebx
je 0x4bcfb2
mov edx, dword [esp + 0x88]
mov ecx, ebx
call fcn.004b1150
jmp 0x4bd42a
push str.index
mov edx, ebx
mov ecx, ebp
call fcn.004b12a0
add esp, 4
mov edi, dword [ebx]
movzx esi, di
test edi, edi
jle 0x4bd45d
mov esi, dword [ebx + 4]
xor ebp, ebp
mov ecx, dword [esi]
cmp byte [ecx], 0x5f
jne 0x4bd44a
mov ecx, dword [ecx + 8]
call fcn.00483750
inc ebp
add ebp, eax
add esi, 0x18
sub edi, 1
jne 0x4bd438
movzx esi, word [ebx]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
call fcn.00483750
mov edi, eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4bd476
movzx ecx, word [eax + 0x32]
jmp 0x4bd47b
mov ecx, 1
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x40]
lea edx, [ecx + esi]
mov esi, dword [esp + 0x1c]
inc eax
add eax, edi
mov ecx, esi
push eax
call fcn.004bcec0
add esp, 8
mov ebx, eax
cmp byte [esi + 0x41], 0
jne 0x4bd752
mov eax, dword [esp + 0x44]
mov dword [ebx], eax
inc eax
add eax, edi
mov dword [esp + 0x44], eax
lea eax, [edi + 1]
push eax
push dword [esp + 0x24]
push dword [ebx]
call fcn.006435e0
mov eax, dword [esp + 0x88]
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov byte [ebx + 0x36], al
neg eax
mov dword [ebx + 0xc], edx
sbb ecx, ecx
mov eax, dword [ebx + 0x38]
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
xor eax, eax
and ecx, 0xfffffffc
cmp dword [esp + 0x38], eax
sete al
or ecx, eax
mov dword [ebx + 0x38], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x84]
mov eax, dword [eax + ecx + 0xc]
mov dword [ebx + 0x18], eax
mov ax, word [edi]
mov word [ebx + 0x32], ax
test esi, esi
je 0x4bd536
push 0
push esi
push 0x10
mov ecx, ebp
call fcn.004af700
add esp, 0xc
mov dword [ebx + 0x24], esi
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x30]
xor edx, edx
mov ebp, dword [edi + 4]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x17], al
cmp dword [edi], edx
jle 0x4bd6c5
mov dword [esp + 0x3c], edx
nop dword [eax]
mov eax, dword [ebp]
mov cl, byte [eax]
cmp cl, 0x61
je 0x4bd577
cmp cl, 0x5f
jne 0x4bd57a
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x61
jne 0x4bd57a
mov byte [eax], 0x1b
mov esi, dword [esp + 0x1c]
mov edx, esi
mov edi, dword [esp + 0x24]
mov ecx, edi
push 0
push dword [ebp]
push 0x20
call fcn.004af700
add esp, 0xc
cmp dword [edi + 0x40], 0
jne 0x4bd74e
mov ecx, dword [ebp]
call fcn.004af8e0
cmp byte [eax], 0x9a
je 0x4bd5fa
cmp esi, dword [edi + 0x1e0]
je 0x4bd740
cmp dword [ebx + 0x28], 0
jne 0x4bd5e2
mov esi, dword [esp + 0x18]
mov ecx, esi
mov edx, dword [esp + 0x2c]
push 0
call fcn.004b08f0
add esp, 4
mov dword [ebx + 0x28], eax
cmp byte [esi + 0x41], 0
jne 0x4bd5e2
mov ebp, dword [eax + 4]
add ebp, dword [esp + 0x3c]
mov eax, dword [ebx + 4]
mov edx, 0xfffffffe
mov ecx, dword [esp + 0x30]
mov esi, edx
mov word [eax + ecx*2], si
and dword [ebx + 0x38], 0xfffffff7
jmp 0x4bd624
movsx edx, word [eax + 0x20]
test edx, edx
jns 0x4bd608
movsx edx, word [esi + 0x20]
jmp 0x4bd619
mov eax, dword [esi + 4]
lea ecx, [edx + edx*2]
cmp byte [eax + ecx*8 + 0x14], 0
jne 0x4bd619
and dword [ebx + 0x38], 0xfffffff7
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x30]
mov word [eax + ecx*2], dx
mov esi, dword [ebp]
cmp byte [esi], 0x5f
jne 0x4bd655
mov esi, dword [esi + 8]
mov ecx, esi
call fcn.00483750
lea edi, [eax + 1]
push edi
push esi
mov esi, dword [esp + 0x4c]
push esi
call fcn.006435e0
lea eax, [edi + esi]
add esp, 0xc
mov edi, dword [esp + 0x24]
mov dword [esp + 0x44], eax
jmp 0x4bd667
test edx, edx
js 0x4bd66b
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov esi, dword [eax + ecx*8 + 0x10]
test esi, esi
jne 0x4bd670
mov esi, str.BINARY
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x91], 0
jne 0x4bd68e
mov edx, esi
mov ecx, edi
call fcn.004bac80
test eax, eax
je 0x4bd74e
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x20]
mov dword [eax + edx*4], esi
xor eax, eax
movzx ecx, byte [ebp + 0xc]
cmp byte [esp + 0x17], 4
cmovb ecx, eax
mov eax, dword [ebx + 0x1c]
add dword [esp + 0x3c], 0x18
add ebp, 0x18
mov byte [edx + eax], cl
inc edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
cmp edx, dword [eax]
jl 0x4bd560
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x4bd7cb
xor eax, eax
xor edi, edi
cmp ax, word [ebp + 0x32]
jae 0x4bd7df
nop
mov eax, dword [ebp + 4]
movzx ecx, word [ebx + 0x32]
mov ebp, dword [ebx + 4]
mov edx, ebp
movzx esi, word [eax + edi*2]
test ecx, ecx
je 0x4bd708
movzx eax, word [edx]
lea edx, [edx + 2]
dec ecx
cmp si, ax
je 0x4bd7b9
test ecx, ecx
jg 0x4bd6f4
mov edx, dword [esp + 0x30]
mov word [ebp + edx*2], si
mov ebp, dword [esp + 0x34]
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + edi*4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebx + 0x1c]
mov al, byte [edi + eax]
mov byte [edx + ecx], al
inc edx
mov dword [esp + 0x30], edx
movzx eax, word [ebp + 0x32]
inc edi
cmp edi, eax
jl 0x4bd6e0
jmp 0x4bd7df
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push edi
call fcn.00483840
add esp, 8
mov esi, dword [esp + 0x18]
test ebx, ebx
je 0x4bd75f
mov edx, ebx
mov ecx, esi
call fcn.004b95d0
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
mov ecx, ebp
mov edx, dword [esp + 0x84]
call fcn.004b0550
mov edx, ebx
mov ecx, ebp
call fcn.004b12d0
mov edx, dword [esp + 0x74]
mov ecx, ebp
call fcn.004be1f0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4bdb16
cmp dword [ebp + 0x208], 0
je 0x4bdadf
mov edx, ecx
mov ecx, ebp
call fcn.00480db0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov ebp, dword [esp + 0x34]
mov eax, 0xffff
add word [ebx + 0x34], ax
jmp 0x4bd732
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov word [eax + edx*2], cx
mov eax, dword [ebx + 0x20]
mov dword [eax + edx*4], str.BINARY
mov ecx, ebx
call fcn.004bdb20
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x1e0]
test eax, eax
jne 0x4bd801
mov ecx, ebx
call fcn.004bb160
mov eax, dword [edi + 0x1e0]
mov edx, dword [esp + 0x1c]
cmp edx, eax
jne 0x4bd899
mov ebp, dword [edx + 8]
test ebp, ebp
je 0x4bd899
movzx edx, word [ebx + 0x32]
nop dword [eax]
movzx eax, word [ebp + 0x32]
mov ecx, eax
mov dword [esp + 0x3c], ecx
cmp ax, dx
jne 0x4bd88a
xor esi, esi
xor edi, edi
cmp si, ax
jae 0x4bd883
mov eax, dword [ebp + 4]
mov esi, dword [ebx + 4]
sub eax, esi
mov dword [esp + 0x44], eax
mov ax, word [eax + esi]
cmp ax, word [esi]
jne 0x4bd87b
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*4]
cmp ecx, eax
je 0x4bd86b
push eax
push ecx
call fcn.004839e0
add esp, 8
test eax, eax
jne 0x4bd87b
movzx eax, word [ebp + 0x32]
inc edi
add esi, 2
cmp edi, eax
mov eax, dword [esp + 0x44]
jl 0x4bd844
mov ecx, dword [esp + 0x3c]
movzx edx, word [ebx + 0x32]
movzx eax, cx
cmp edi, eax
je 0x4bd8c8
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x4bd820
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x91], 0
je 0x4bd926
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx]
add ecx, 0x18
push ebx
call fcn.00484fa0
add esp, 4
test eax, eax
je 0x4bd904
mov byte [esi + 0x41], 1
jmp 0x4bd752
mov al, byte [ebp + 0x36]
mov cl, byte [ebx + 0x36]
cmp al, cl
je 0x4bd8fb
cmp al, 0xa
je 0x4bd8f5
cmp cl, 0xa
je 0x4bd8f1
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x2c]
call fcn.00483840
mov al, byte [ebp + 0x36]
add esp, 0xc
cmp al, 0xa
jne 0x4bd8fb
mov al, byte [ebx + 0x36]
mov byte [ebp + 0x36], al
mov dword [esp + 0x40], ebp
jmp 0x4bd74e
or dword [esi + 0x18], 2
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4bda82
mov eax, dword [esi + 0x8c]
mov dword [ebx + 0x2c], eax
jmp 0x4bda7e
test byte [edx + 0x2a], 0x20
je 0x4bd938
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4bda82
inc dword [edi + 0x48]
mov ecx, edi
mov ebp, dword [edi + 0x48]
call fcn.004d2cd0
mov esi, eax
test esi, esi
je 0x4bd74e
push dword [esp + 0x28]
mov edx, 1
mov ecx, edi
call fcn.004beab0
add esp, 4
mov edx, 0x9f
mov ecx, esi
call fcn.0049d6d0
push ebp
push dword [esp + 0x2c]
mov edx, 0x79
mov dword [ebx + 0x2c], eax
mov ecx, esi
call fcn.0049d7a0
add esp, 8
cmp dword [esp + 0x80], 0
je 0x4bd9dc
mov edx, dword [edi + 0x1f8]
add edx, dword [edi + 0x1f4]
mov eax, dword [esp + 0x38]
mov ecx, edx
mov eax, dword [eax]
sub ecx, eax
cmp byte [edx - 1], 0x3b
push eax
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [esp + 0x80], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x6e1417
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x28]
call fcn.00482d00
add esp, 0x14
mov edi, eax
jmp 0x4bd9de
xor edi, edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
push edi
push ebp
push dword [edx]
mov eax, dword [eax + 0x10]
push dword [ebx]
push dword [esp + 0x5c]
push dword [eax + ecx]
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push dword [esp + 0x40]
call fcn.004b9230
mov ecx, dword [esp + 0x38]
add esp, 0x20
mov edx, edi
call fcn.00480df0
cmp dword [esp + 0x74], 0
je 0x4bda6c
mov ecx, dword [esp + 0x24]
mov edx, ebx
push ebp
call fcn.004bc9f0
mov edx, dword [esp + 0x2c]
add esp, 4
mov ecx, dword [esp + 0x24]
call fcn.004bacd0
push dword [ebx]
push str.name_q_AND_typeindex
push dword [esp + 0x20]
call fcn.00482d00
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0049da60
add esp, 4
mov edx, 0x93
mov ecx, esi
push 0
call fcn.0049d730
add esp, 4
mov edx, dword [ebx + 0x2c]
mov ecx, esi
call fcn.0049dfa0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x74]
cmp byte [esi + 0x91], 0
jne 0x4bda93
test eax, eax
jne 0x4bd752
cmp dword [esp + 0x7c], 5
jne 0x4bdacf
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x4bdacf
cmp byte [ecx + 0x36], 5
je 0x4bdacf
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x4bdabf
nop
cmp byte [eax + 0x36], 5
je 0x4bdabf
mov ecx, eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x4bdab0
mov eax, dword [ecx + 0x14]
mov esi, ebx
mov dword [ebx + 0x14], eax
mov dword [ecx + 0x14], ebx
jmp 0x4bd763
mov eax, dword [edx + 8]
mov esi, ebx
mov dword [ebx + 0x14], eax
mov dword [edx + 8], ebx
jmp 0x4bd763
cmp ecx, dword [ebp + 0x114]
jb 0x4bdb0d
cmp ecx, dword [ebp + 0x118]
jae 0x4bdb0d
mov eax, dword [ebp + 0x110]
mov dword [ecx], eax
mov eax, esi
dec dword [ebp + 0xfc]
mov dword [ebp + 0x110], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push ecx
call fcn.00480d40
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret