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

Disassembly:
sub esp, 0x48
push ebx
push ebp
mov ebp, dword [esp + 0x54]
xor eax, eax
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x20], 0
mov edi, dword [ebp]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], eax
cmp byte [edi + 0x51], al
jne 0x491a37
cmp dword [ebp + 0x24], eax
jg 0x491a37
cmp byte [ebp + 0xc8], 1
jne 0x490ed7
cmp byte [esp + 0x84], 2
jne 0x491a37
push ebp
call fcn.004ae130
add esp, 4
test eax, eax
jne 0x491a37
mov eax, dword [esp + 0x6c]
push eax
push ebp
mov dword [esp + 0x20], eax
call fcn.004a3720
add esp, 8
test eax, eax
jne 0x491a37
cmp dword [esp + 0x68], ebx
je 0x490fe5
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x2c]
push eax
push esi
push dword [esp + 0x68]
push ebp
call fcn.004b52c0
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
js 0x491a37
cmp byte [edi + 0xa5], bl
jne 0x490f67
push dword [esp + 0x68]
push ebp
call fcn.004b3eb0
add esp, 8
cmp dword [esi + 4], ebx
jne 0x490f63
test eax, eax
je 0x490f63
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 0x48]
cmp eax, dword [ecx + 0x1c]
jne 0x490f63
mov eax, 1
mov dword [esp + 0x14], eax
jmp 0x490f67
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push ecx
push str.index
push eax
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.00499cf0
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x54]
push esi
push eax
call fcn.00499e40
lea eax, [esi + 8]
push eax
push 0
push ebp
call fcn.004a7060
mov edx, eax
add esp, 0x28
mov dword [esp + 0x10], edx
test edx, edx
je 0x491a37
cmp dword [esp + 0x14], 1
jne 0x490fd0
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x48]
je 0x490fd0
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebp
call fcn.00493e20
add esp, 0xc
jmp 0x49158d
test byte [edx + 0x24], 0x80
je 0x49100b
push edx
call fcn.004ae020
add esp, 4
mov dword [esp + 0x28], eax
jmp 0x49100b
mov eax, dword [ebp + 0xe4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x491a37
push dword [eax + 0x48]
push edi
call fcn.004b0720
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x10]
mov esi, dword [edx]
shl ecx, 4
push 7
add eax, ecx
mov dword [esp + 0x38], ecx
push str.sqlite_
push esi
mov dword [esp + 0x30], eax
call fcn.0044c080
add esp, 0xc
test eax, eax
jne 0x491057
cmp byte [edi + 0xa5], bl
jne 0x491057
cmp dword [esp + 0x68], ebx
je 0x491057
push esi
push str.table__s_may_not_be_indexed
push ebp
call fcn.00493e20
add esp, 0xc
jmp 0x49158d
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xc], ebx
je 0x491070
push str.views_may_not_be_indexed
push ebp
call fcn.00493e20
jmp 0x49158a
cmp dword [eax + 0x38], ebx
je 0x491085
push str.virtual_tables_may_not_be_indexed
push ebp
call fcn.00493e20
jmp 0x49158a
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x491144
push ecx
push edi
call fcn.004a7c00
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
test esi, esi
je 0x49158d
mov eax, dword [esp + 0x10]
push dword [eax]
push str.index
push esi
push ebp
call fcn.0048e840
add esp, 0x10
test eax, eax
jne 0x49158d
cmp byte [ebp + 0xc8], 2
jae 0x491185
cmp byte [edi + 0xa5], bl
jne 0x4910fe
push eax
push esi
push edi
call fcn.004995f0
add esp, 0xc
test eax, eax
je 0x4910fe
push esi
push str.there_is_already_a_table_named__s
push ebp
call fcn.00493e20
add esp, 0xc
jmp 0x49158d
mov esi, dword [esp + 0x24]
push dword [esi]
push dword [esp + 0x24]
push edi
call fcn.00499550
add esp, 0xc
test eax, eax
je 0x491189
cmp dword [esp + 0x80], ebx
jne 0x491135
push dword [esp + 0x20]
push str.index__s_already_exists
push ebp
call fcn.00493e20
add esp, 0xc
jmp 0x49158d
push dword [esp + 0x14]
push ebp
call fcn.0048fae0
jmp 0x49158a
mov eax, dword [eax + 8]
mov ecx, 1
test eax, eax
je 0x491158
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x491150
push ecx
push esi
push str.sqlite_autoindex__s__d
push edi
call fcn.004a73d0
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
je 0x49158d
mov esi, dword [esp + 0x24]
cmp byte [ebp + 0xc8], bl
je 0x491189
inc byte [eax + 7]
jmp 0x491189
mov esi, dword [esp + 0x24]
cmp byte [ebp + 0xc8], 2
jae 0x4911eb
cmp dword [esp + 0x14], 1
mov eax, str.sqlite_temp_master
mov esi, dword [esi]
je 0x4911a5
mov eax, str.sqlite_master
push esi
push 0
push eax
push 0x12
push ebp
call fcn.00489d80
add esp, 0x14
test eax, eax
jne 0x49158d
mov eax, 1
cmp dword [esp + 0x14], eax
jne 0x4911cc
mov eax, 3
push esi
mov esi, dword [esp + 0x14]
push dword [esi]
push dword [esp + 0x28]
push eax
push ebp
call fcn.00489d80
add esp, 0x14
test eax, eax
jne 0x49158d
jmp 0x4911ef
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x491256
movsx eax, word [esi + 0x2a]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
push dword [eax + ecx*4 - 0x14]
or word [eax + ecx*4 - 4], 8
lea eax, [esp + 0x3c]
push eax
call fcn.004b4d60
push 0
lea eax, [esp + 0x44]
push eax
push 0x3b
push edi
call fcn.00494250
push eax
push 0
push ebp
call fcn.004981a0
mov esi, eax
add esp, 0x24
mov dword [esp + 0x18], esi
test esi, esi
je 0x49158d
mov edx, dword [esp + 0x7c]
mov ecx, dword [esi]
lea eax, [edx + 1]
neg eax
lea ecx, [ecx + ecx*4]
sbb eax, eax
and eax, edx
mov byte [esi + ecx*4 - 8], al
jmp 0x491270
push str.index
mov esi, eax
push esi
push ebp
call fcn.004983c0
add esp, 0xc
cmp dword [ebp + 0x24], ebx
jne 0x49158d
mov edi, dword [esi]
test edi, edi
jle 0x49129b
add esi, 4
lea esp, [esp]
mov eax, dword [esi]
cmp byte [eax], 0x6f
jne 0x491295
push dword [eax + 8]
call fcn.004b4820
inc ebx
add esp, 4
add ebx, eax
add esi, 0x14
dec edi
jne 0x491280
push dword [esp + 0x20]
call fcn.004b4820
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4912b7
movzx ecx, word [eax + 0x32]
jmp 0x4912bc
mov ecx, 1
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
lea eax, [ebx + 1]
add eax, esi
push eax
mov eax, dword [esp + 0x20]
mov ax, word [eax]
add ax, cx
movzx eax, ax
push eax
push edi
call fcn.00488790
add esp, 0x10
mov ebx, eax
cmp byte [edi + 0x51], 0
jne 0x49157f
mov ecx, dword [esp + 0x30]
mov dword [ebx], ecx
lea eax, [ecx + 1]
lea ecx, [esi + 1]
add eax, esi
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x38], eax
push dword [ebx]
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x7c]
xor ecx, ecx
mov edx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
mov byte [ebx + 0x36], al
movzx eax, byte [esp + 0x84]
setne cl
mov esi, dword [esp + 0x78]
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 + 0x34]
mov eax, dword [ecx + eax + 0xc]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x18]
mov ax, word [eax]
mov word [ebx + 0x32], ax
test esi, esi
je 0x49137d
push 0
push esi
push 2
push edx
push ebp
call fcn.004af1d0
add esp, 0x14
mov dword [ebx + 0x24], esi
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x4c], 4
sbb eax, eax
neg eax
dec eax
cmp byte [ebp + 0xc8], 2
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
lea edx, [eax + 4]
mov dword [esp + 0x6c], edx
jb 0x4913b0
mov dword [ebx + 0x28], eax
mov dword [esp + 0x18], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x24], esi
cmp ax, word [ebx + 0x32]
jae 0x491519
push dword [edx]
call fcn.004b4800
push 0
push dword [edx]
push 0x20
push dword [esp + 0x20]
push ebp
call fcn.004af1d0
add esp, 0x18
cmp dword [ebp + 0x24], 0
jne 0x49157f
mov edx, dword [esp + 0x6c]
push dword [edx]
call fcn.00498990
add esp, 4
cmp byte [eax], 0xa4
je 0x491436
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0xe4]
je 0x491571
cmp dword [ebx + 0x28], 0
jne 0x49141e
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x28], eax
mov dword [esp + 0x18], 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 + 0x1c]
jmp 0x491479
movsx ecx, word [eax + 0x20]
mov eax, dword [esp + 0x10]
test ecx, ecx
jns 0x491448
movsx ecx, word [eax + 0x28]
jmp 0x491472
mov eax, dword [eax + 4]
lea edx, [ecx + ecx*4]
cmp byte [eax + edx*4 + 0xc], 0
jne 0x491459
and dword [ebx + 0x38], 0xfffffff7
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test byte [eax + edx*4 + 0x10], 0x20
mov edx, dword [esp + 0x6c]
je 0x491472
or dword [ebx + 0x38], 0x400
mov eax, dword [ebx + 4]
mov word [eax + esi*2], cx
mov esi, dword [edx]
cmp byte [esi], 0x6f
jne 0x4914ac
mov esi, dword [esi + 8]
push esi
call fcn.004b4820
lea edi, [eax + 1]
push edi
push esi
push dword [esp + 0x3c]
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x40]
add esp, 0x10
mov esi, eax
add eax, edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
jmp 0x4914be
test ecx, ecx
js 0x4914c2
mov eax, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 4]
mov esi, dword [eax + ecx*4 + 8]
test esi, esi
jne 0x4914c7
mov esi, 0x4e9d50
cmp byte [edi + 0xa5], 0
jne 0x4914e2
push esi
push ebp
call fcn.004a6ec0
add esp, 8
test eax, eax
je 0x49157f
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4], esi
mov esi, dword [esp + 0x24]
mov cl, byte [edx + 8]
add edx, 0x14
mov eax, dword [ebx + 0x1c]
and cl, byte [esp + 0x38]
mov dword [esp + 0x6c], edx
mov byte [esi + eax], cl
inc esi
movzx eax, word [ebx + 0x32]
mov dword [esp + 0x24], esi
cmp esi, eax
jl 0x4913c2
mov eax, dword [esp + 0x28]
test eax, eax
je 0x49164a
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 0x32]
jae 0x49165e
mov edi, dword [esp + 0x24]
mov ebp, eax
lea esp, [esp]
mov eax, dword [ebp + 4]
push esi
push ebp
movsx eax, word [eax + esi*2]
mov dword [esp + 0x74], eax
movzx eax, word [ebx + 0x32]
push eax
push ebx
call fcn.00476c10
add esp, 0x10
test eax, eax
je 0x49160f
mov eax, 0xffff
add word [ebx + 0x34], ax
jmp 0x491633
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebp
call fcn.00493e20
add esp, 8
test ebx, ebx
je 0x49158d
push ebx
push edi
call fcn.0049b000
add esp, 8
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 8]
add edx, 8
test ecx, ecx
je 0x4915b3
jmp 0x4915a0
cmp byte [ecx + 0x36], 5
je 0x491a0a
lea edx, [ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
jne 0x4915a0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x78]
test esi, esi
je 0x4915c9
push esi
push edi
call fcn.00497330
add esp, 8
test ebx, ebx
je 0x4915d7
push ebx
push edi
call fcn.0045f150
add esp, 8
push dword [esp + 0x68]
push edi
call fcn.004b3800
mov ebx, dword [esp + 0x28]
add esp, 8
test ebx, ebx
je 0x491ae2
cmp dword [edi + 0x1f8], 0
je 0x491a40
push ebx
push edi
call fcn.00478920
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x6c]
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 0x491540
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x1c]
jmp 0x49165e
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [ebx + 0x20]
mov dword [eax + esi*4], 0x4e9d50
push ebx
call fcn.004921e0
add esp, 4
cmp dword [ebp + 0xe4], 0
jne 0x491679
push ebx
call fcn.0045ca30
add esp, 4
push ebx
call fcn.00481cf0
add esp, 4
cmp dword [esp + 0x68], 0
je 0x4916e6
mov edx, dword [esp + 0x10]
movzx ecx, word [ebx + 0x34]
movsx eax, word [edx + 0x2a]
cmp ecx, eax
jl 0x4916e6
or dword [ebx + 0x38], 0x20
xor esi, esi
movsx eax, word [edx + 0x2a]
mov dword [esp + 0x6c], eax
test eax, eax
jle 0x4916e6
movzx eax, word [edx + 0x28]
movsx ecx, ax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
lea ebx, [ebx]
cmp esi, ecx
je 0x4916db
push esi
push ebx
call fcn.004b4a00
add esp, 8
test ax, ax
js 0x4916e2
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
inc esi
cmp esi, eax
jl 0x4916c0
jmp 0x4916e6
and dword [ebx + 0x38], 0xffffffdf
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0xe4]
jne 0x491789
mov esi, dword [eax + 8]
mov dword [esp + 0x6c], esi
test esi, esi
je 0x491789
movzx ecx, word [ebx + 0x32]
lea esp, [esp]
movzx eax, word [esi + 0x32]
cmp ax, cx
jne 0x491776
mov ecx, eax
xor edi, edi
mov dword [esp + 0x30], ecx
test ecx, ecx
jle 0x49176e
mov ebp, dword [esp + 0x6c]
mov esi, dword [ebx + 4]
mov eax, dword [ebp + 4]
sub eax, esi
mov dword [esp + 0x38], eax
mov ax, word [eax + esi]
cmp ax, word [esi]
jne 0x491766
mov eax, dword [ebx + 0x20]
push dword [eax + edi*4]
mov eax, dword [ebp + 0x20]
push dword [eax + edi*4]
call fcn.004b47c0
mov ecx, dword [esp + 0x38]
add esp, 8
test eax, eax
jne 0x491766
mov eax, dword [esp + 0x38]
inc edi
add esi, 2
cmp edi, ecx
jl 0x491735
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x6c]
cmp edi, ecx
je 0x4917e9
movzx ecx, word [ebx + 0x32]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x6c], esi
test esi, esi
jne 0x491710
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp byte [ebp + 0xc8], 2
jae 0x4919cb
cmp byte [edi + 0xa5], 0
je 0x491880
mov esi, dword [esp + 0x68]
test esi, esi
je 0x491853
mov eax, dword [edi + 0xa0]
push ebx
mov dword [ebx + 0x2c], eax
call fcn.004a3f60
add esp, 4
test eax, eax
je 0x491853
push str.invalid_rootpage
push ebp
call fcn.00493e20
push 0x1b963
call fcn.004906b0
add esp, 0xc
mov dword [ebp + 0xc], eax
jmp 0x49157f
mov al, byte [esi + 0x36]
mov cl, byte [ebx + 0x36]
cmp al, cl
je 0x491818
cmp al, 0xb
je 0x49180c
cmp cl, 0xb
je 0x49180c
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ebp
call fcn.00493e20
add esp, 0xc
cmp byte [esi + 0x36], 0xb
jne 0x491818
mov al, byte [ebx + 0x36]
mov byte [esi + 0x36], al
cmp byte [esp + 0x84], 2
jne 0x49182e
mov eax, dword [esi + 0x38]
and eax, 0xfffffffe
or eax, 2
mov dword [esi + 0x38], eax
cmp byte [ebp + 0xc8], 2
mov edi, dword [esp + 0x1c]
jb 0x49157f
mov eax, dword [ebp + 0xe8]
mov dword [ebx + 0x14], eax
mov dword [ebp + 0xe8], ebx
jmp 0x49158d
mov eax, dword [ebx + 0x18]
push ebx
push dword [ebx]
add eax, 0x18
push eax
call fcn.004a3860
add esp, 0xc
test eax, eax
je 0x491877
push edi
call fcn.004a7e20
add esp, 4
jmp 0x49157f
or dword [edi + 0x18], 1
jmp 0x4919cf
test byte [eax + 0x24], 0x80
je 0x491892
mov esi, dword [esp + 0x68]
test esi, esi
je 0x4919cf
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push ebp
mov dword [esp + 0x70], eax
call fcn.004a3670
mov esi, eax
add esp, 4
test esi, esi
je 0x49157f
push dword [esp + 0x14]
push 1
push ebp
call fcn.0048a810
push 0xad
push esi
call fcn.004b8930
push 2
push dword [esp + 0x84]
mov dword [ebx + 0x2c], eax
push dword [esp + 0x30]
push 0x8b
push esi
call fcn.004b8a40
add esp, 0x28
cmp dword [esp + 0x74], 0
je 0x49192d
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc0]
add eax, dword [ebp + 0xbc]
mov ecx, dword [ecx]
sub eax, ecx
cmp byte [ecx + eax - 1], 0x3b
jne 0x491907
dec eax
cmp dword [esp + 0x70], 0
mov edx, 0x4ede96
je 0x491918
mov edx, str._UNIQUE
push ecx
push eax
push edx
push str.CREATE_s_INDEX__.s
push edi
call fcn.004a73d0
add esp, 0x14
mov edi, eax
jmp 0x49192f
xor edi, edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
push edi
push dword [esp + 0x70]
push dword [eax]
mov eax, dword [esp + 0x28]
push dword [ebx]
push str.sqlite_master
mov eax, dword [eax + 0x10]
push dword [ecx + eax]
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push ebp
call fcn.004a7c70
add esp, 0x20
test edi, edi
je 0x491971
push edi
mov edi, dword [esp + 0x20]
push edi
call fcn.00491cd0
add esp, 8
jmp 0x491975
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x68], 0
je 0x4919bb
push dword [esp + 0x6c]
push ebx
push ebp
call fcn.004ae320
push dword [esp + 0x20]
push ebp
call fcn.0048e790
push dword [ebx]
push str.name_q_AND_typeindex
push edi
call fcn.004a73d0
push eax
push dword [esp + 0x38]
push esi
call fcn.004b8cb0
push 1
push 0
push 0x9e
push esi
call fcn.004b89e0
add esp, 0x3c
push dword [ebx + 0x2c]
push esi
call fcn.004c0950
mov edi, dword [esp + 0x24]
add esp, 8
mov esi, dword [esp + 0x68]
cmp byte [edi + 0xa5], 0
jne 0x4919f4
test esi, esi
je 0x4919f4
cmp byte [ebp + 0xc8], 2
jb 0x49157f
mov dword [ebp + 0xe8], ebx
jmp 0x49158d
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
jmp 0x491591
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x4915b3
cmp byte [eax + 0x36], 5
je 0x4915b3
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 0x491a15
jmp 0x4915b3
mov ebx, dword [esp + 0x6c]
jmp 0x4915b7
cmp ebx, dword [edi + 0x14c]
jae 0x491a84
cmp ebx, dword [edi + 0x144]
jb 0x491a66
mov eax, dword [edi + 0x140]
mov dword [ebx], eax
mov dword [edi + 0x140], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
cmp ebx, dword [edi + 0x148]
jb 0x491a84
mov eax, dword [edi + 0x138]
mov dword [ebx], eax
mov dword [edi + 0x138], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
cmp dword [0x5061d8], 0
je 0x491ad8
mov eax, dword [0x50df18]
test eax, eax
je 0x491aa0
push eax
call dword [0x506228]
add esp, 4
push ebx
call dword [0x506204]
sub dword [0x50de98], eax
dec dword [0x50debc]
push ebx
call dword [0x5061fc]
mov eax, dword [0x50df18]
add esp, 8
test eax, eax
je 0x491ae2
push eax
call dword [0x506230]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
push ebx
call dword [0x5061fc]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret