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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [esp + 0x40], edx
mov esi, ecx
mov dword [esp + 0x30], esi
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
inc eax
mov dword [ebp + 0x10], eax
inc eax
mov dword [esp + 0x6c], eax
mov ecx, eax
mov dword [esp + 0x48], ecx
inc ecx
mov dword [esp + 0x74], ecx
inc ecx
mov eax, dword [esi + 0x2c]
mov ebx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
inc ecx
mov dword [esp + 0x78], ecx
inc ecx
mov dword [esp + 0x5c], ecx
inc ecx
mov dword [esp + 0x70], ecx
inc ecx
mov dword [esp + 0x68], ecx
inc ecx
cmp eax, ecx
mov edi, dword [esi]
cmovle eax, ecx
mov dword [esp + 0x64], edi
mov byte [esp + 0x44], 1
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x49f0da
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jmp 0x49f10b
cmp dword [esi + 0x74], 0
jne 0x49f0ea
test byte [edi + 0x4c], 8
jne 0x49f0ea
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.0047a090
mov ebx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x4a0206
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4a0206
cmp dword [edx + 0x1c], 0
je 0x4a0206
mov edx, dword [edx]
mov ecx, str.sqlite__
push 0x5c
push 0x5f9360
call fcn.004b02c0
add esp, 8
test eax, eax
je 0x4a0206
mov eax, dword [esp + 0x40]
mov edx, 0xffff8000
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x49f16c
mov eax, dword [edi + 0x10]
xor edx, edx
add eax, 0xc
mov dword [esp + 0x54], edx
cmp dword [eax], ecx
je 0x49f16c
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x49f160
mov dword [esp + 0x54], edx
mov eax, dword [edi + 0x10]
add edx, edx
mov edi, dword [esp + 0x40]
mov ecx, esi
push dword [eax + edx*8]
mov edx, 0x1c
push 0
push dword [edi]
call fcn.004a1b40
add esp, 0xc
test eax, eax
jne 0x4a0206
push dword [edi]
mov ecx, esi
push eax
push dword [edi + 0x1c]
mov edi, dword [esp + 0x60]
mov edx, edi
call fcn.004a1be0
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov edx, eax
inc eax
mov dword [ebp + 0x14], eax
mov dword [esp + 0x80], edx
push 0x60
lea ecx, [eax + 1]
mov eax, dword [esi + 0x28]
cmp eax, ecx
cmovle eax, ecx
mov ecx, esi
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x44]
push eax
push edi
call fcn.004b5610
mov esi, dword [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x5c]
mov ecx, ebx
push dword [esi]
call fcn.0047a3b0
mov edx, dword [esi + 8]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], edx
test edx, edx
je 0x49ff57
mov eax, dword [esp + 0x44]
test ecx, ecx
je 0x49f20f
cmp ecx, edx
jne 0x49ff44
xor ecx, ecx
movzx eax, al
cmp dword [edx + 0x24], ecx
cmovne ecx, eax
test byte [esi + 0x24], 0x80
mov dword [esp + 0x44], ecx
je 0x49f237
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x49f237
movzx edi, word [edx + 0x32]
mov eax, esi
mov ecx, edi
jmp 0x49f249
test byte [edx + 0x38], 8
mov eax, edx
movzx edi, word [edx + 0x34]
mov ecx, edi
je 0x49f249
movzx ecx, word [edx + 0x32]
mov eax, dword [eax]
lea esi, [ecx - 1]
mov edx, dword [esp + 0x70]
mov ecx, ebx
push eax
mov dword [esp + 0x50], esi
call fcn.0047a3b0
mov edx, dword [esp + 0x34]
add esp, 4
mov ecx, dword [esp + 0x3c]
add ecx, esi
lea esi, [ebx + 0x6c]
mov dword [esp + 0x28], esi
mov eax, dword [edx + 0x2c]
cmp eax, ecx
cmovle eax, ecx
mov dword [edx + 0x2c], eax
lea eax, [ebx + 0x70]
mov edx, dword [esp + 0x34]
mov ecx, dword [esi]
mov dword [esp + 0x18], eax
mov edx, dword [edx + 0x2c]
cmp dword [eax], ecx
jg 0x49f2b5
push dword [esp + 0x54]
mov ecx, ebx
push edx
push dword [ebp + 0x14]
mov edx, 0x60
call fcn.0047a300
mov eax, dword [esp + 0x2c]
add esp, 0xc
add eax, 0x68
mov dword [esp + 0x10], eax
jmp 0x49f2e8
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov esi, dword [ebp + 0x14]
lea eax, [ebx + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
mov ecx, eax
mov edx, dword [esp + 0x34]
mov esi, dword [eax + 8]
call fcn.004abce0
mov edx, eax
test edx, edx
je 0x49f32a
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x49f318
push edx
mov edx, 0xfffffff7
call fcn.0047af00
add esp, 4
jmp 0x49f32a
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [edx]
cmp dword [eax], ecx
jg 0x49f355
mov edx, dword [esp + 0x6c]
mov ecx, ebx
push 0
push edx
push edi
mov edx, 0x45
call fcn.0047a300
mov esi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x49f386
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x6c]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
movzx edx, word [eax + 0x32]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x49f3b4
push 0
push dword [esp + 0x78]
mov ecx, ebx
push edx
mov edx, 0x45
call fcn.0047a300
add esp, 0xc
jmp 0x49f3e5
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [edi]
mov dword [esp + 0x7c], ecx
cmp dword [eax], ecx
jg 0x49f412
push 0
push 0
push dword [ebp + 0x14]
mov edx, 0x25
mov ecx, ebx
call fcn.0047a300
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov dword [esp + 0x7c], eax
jmp 0x49f442
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x49f464
push 1
push dword [esp + 0x20]
mov ecx, ebx
push edx
mov edx, 0x5c
call fcn.0047a300
add esp, 0xc
jmp 0x49f495
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x64]
mov ecx, dword [edi]
mov edx, dword [eax + 0x1d4]
mov eax, dword [esp + 0x18]
cmp dword [eax], ecx
jg 0x49f4c1
push 0
push dword [esp + 0x7c]
mov ecx, ebx
push edx
mov edx, 0x45
call fcn.0047a300
add esp, 0xc
jmp 0x49f4f2
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x30]
xor edx, edx
push 0
push 0x5fae78
push 4
push dword [ebp + 0x10]
push dword [esp + 0x7c]
call fcn.0047a720
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x49f533
push 0
push dword [esp + 0x4c]
mov edx, 0x45
mov ecx, ebx
push 0
call fcn.0047a300
add esp, 0xc
jmp 0x49f564
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi]
mov dword [esp + 0x50], eax
test ecx, ecx
jle 0x49fac9
mov eax, dword [esp + 0x30]
push 0
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x5c], eax
lea eax, [ecx*4]
mov ecx, dword [esp + 0x68]
push eax
call fcn.004581b0
add esp, 8
mov dword [esp + 0x60], eax
test eax, eax
je 0x49ff39
mov edx, dword [esp + 0x18]
mov ecx, dword [edi]
cmp dword [edx], ecx
jg 0x49f5cb
push 0
push 0
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.0047a300
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x49f600
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x4c], 1
mov ecx, dword [edi]
mov dword [esp + 0x50], ecx
jne 0x49f66e
mov eax, dword [esp + 0x34]
cmp word [eax + 0x32], 1
jne 0x49f66e
cmp byte [eax + 0x36], 0
je 0x49f66e
cmp dword [edx], ecx
jg 0x49f63d
push 0
push dword [esp + 0x5c]
mov edx, 0x33
mov ecx, ebx
push dword [esp + 0x44]
call fcn.0047a300
add esp, 0xc
jmp 0x49f66e
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor eax, eax
mov dword [esp + 0x2c], eax
lea ecx, [eax*4]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x84], ecx
mov eax, dword [eax + 0x20]
mov esi, dword [ecx + eax]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dl, byte [ecx + 0x4e]
mov al, byte [ecx + 0xa5]
mov byte [esp + 0xf], dl
mov byte [esp + 0xe], al
test esi, esi
je 0x49f71a
movzx eax, al
mov edx, esi
push eax
call fcn.004ac2d0
mov dl, byte [esp + 0x13]
mov edi, eax
add esp, 4
test edi, edi
je 0x49f6cb
movzx eax, dl
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
add edi, 0xffffffec
mov al, byte [esp + 0xe]
test al, al
jne 0x49f6ed
test edi, edi
je 0x49f6dd
cmp dword [edi + 0xc], 0
jne 0x49f6ed
mov ecx, dword [esp + 0x30]
push esi
push edi
call fcn.004ac460
add esp, 8
mov edi, eax
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
cmp dword [eax], ecx
jg 0x49f71f
push 0
push dword [esp + 0x4c]
mov edx, 0x45
mov ecx, ebx
push dword [esp + 0x34]
call fcn.0047a300
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x49f758
mov edi, dword [ecx + 8]
jmp 0x49f6cf
mov ebx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
cmp dword [eax], ecx
jg 0x49f77f
push dword [esp + 0x1c]
mov ecx, ebx
push edx
push dword [ebp + 0x14]
mov edx, 0x59
call fcn.0047a300
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x49f7b3
mov ebx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov esi, dword [esi]
add edx, dword [esp + 0x3c]
cmp dword [eax], esi
jg 0x49f7db
push edx
push 0
push dword [esp + 0x24]
mov edx, 0x34
mov ecx, ebx
call fcn.0047a300
add esp, 0xc
mov esi, eax
jmp 0x49f814
mov ecx, dword [esp + 0x28]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x1c]
mov dword [ecx], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
mov eax, esi
cmp byte [ecx + 0x51], 0
je 0x49f832
push edi
mov edx, 0xfffffffe
call fcn.0047af00
mov edx, dword [esp + 0x14]
add esp, 4
jmp 0x49f870
test esi, esi
jns 0x49f83d
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
dec eax
mov edx, dword [esp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [edx]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x49f865
push 0xfffffffffffffffe
push edi
mov edx, eax
mov ecx, ebx
call fcn.0047b0d0
mov edx, dword [esp + 0x18]
add esp, 8
jmp 0x49f870
test edi, edi
je 0x49f870
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x28]
mov dword [eax + ecx], esi
mov eax, dword [edi]
test eax, eax
jle 0x49f897
lea ecx, [eax + eax*4]
mov esi, 0x80
mov eax, dword [edx]
mov word [eax + ecx*4 - 0x12], si
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x4c]
jl 0x49f674
mov esi, dword [esp + 0x18]
mov ecx, dword [edi]
cmp dword [esi], ecx
jg 0x49f8d3
push 0
push dword [esp + 0x4c]
mov edx, 0x45
mov ecx, ebx
push dword [esp + 0x54]
call fcn.0047a300
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x49f908
mov ebx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp dword [esi], ecx
jg 0x49f927
push 0
push dword [esp + 0x5c]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.0047a300
add esp, 0xc
jmp 0x49f958
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
mov esi, dword [esp + 0x50]
mov edx, dword [edi]
mov dword [esp + 0x14], ebx
cmp byte [eax + 0x51], 0
lea ecx, [esi - 1]
je 0x49f975
mov dword [0x60d7e8], edx
jmp 0x49f989
test ecx, ecx
mov eax, edx
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 - 0xc], edx
mov eax, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x60]
mov edx, dword [edi]
mov ecx, dword [eax + esi*4]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x49f9b8
mov eax, 0x60d7e0
jmp 0x49f9cc
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi]
add edx, esi
cmp dword [eax], ecx
jg 0x49f9f5
push edx
push esi
push dword [ebp + 0x14]
mov edx, 0x59
mov ecx, ebx
call fcn.0047a300
add esp, 0xc
jmp 0x49fa25
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc esi
cmp esi, dword [esp + 0x4c]
jl 0x49f9a0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x58]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49fa4e
push edx
mov edx, ebx
call fcn.0047aae0
add esp, 4
jmp 0x49fa56
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi]
mov dword [ecx + edx*4], eax
mov esi, dword [esp + 0x64]
cmp dword [esi + 0x1f8], 0
je 0x49fa70
mov edx, dword [esp + 0x60]
mov ecx, esi
call fcn.00457e30
jmp 0x49fac9
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esi + 0x14c]
jae 0x49faac
cmp ecx, dword [esi + 0x144]
jb 0x49fa94
mov eax, dword [esi + 0x140]
mov dword [ecx], eax
mov dword [esi + 0x140], ecx
jmp 0x49fab5
cmp ecx, dword [esi + 0x148]
jb 0x49faac
mov eax, dword [esi + 0x138]
mov dword [ecx], eax
mov dword [esi + 0x138], ecx
jmp 0x49fab5
push ecx
call fcn.00457dc0
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
mov edx, 1
push 0
push 0x5fdff0
push 2
push dword [esp + 0x28]
push dword [ebp + 0x10]
call fcn.0047a720
mov ecx, dword [esp + 0x78]
add esp, 0x14
mov eax, dword [esp + 0x18]
mov esi, dword [edi]
cmp dword [ecx + 0x1d4], 0
mov eax, dword [eax]
je 0x49fd2d
cmp eax, esi
jg 0x49fb22
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x32
mov ecx, ebx
call fcn.0047a300
add esp, 0xc
mov esi, eax
jmp 0x49fb57
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov dword [edi], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
mov dword [esp + 0x60], edx
cmp dword [eax], edx
jg 0x49fb82
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x12
mov ecx, ebx
call fcn.0047a300
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x49fbb7
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov edi, dword [edi]
cmp dword [eax], edi
jg 0x49fbdd
push dword [esp + 0x3c]
mov edx, 0x19
mov ecx, ebx
push 0
push dword [ebp + 0x14]
call fcn.0047a300
add esp, 0xc
mov edi, eax
jmp 0x49fc15
mov edx, dword [esp + 0x28]
lea eax, [edi + 1]
lea ecx, [edi + edi*4]
mov dword [edx], eax
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x19
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
mov edx, dword [esp + 0x28]
cmp byte [eax + 0x51], 0
jne 0x49fc3d
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi*4]
mov eax, dword [eax]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
mov edx, dword [edx]
je 0x49fc4c
mov eax, 0x60d7e0
jmp 0x49fc60
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x28]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
cmp dword [eax], ecx
jg 0x49fc8c
mov edx, dword [esp + 0x50]
mov ecx, ebx
push 0
push edx
push dword [ebp + 0x14]
mov edx, 5
call fcn.0047a300
add esp, 0xc
jmp 0x49fcc0
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
mov edx, dword [esi]
cmp byte [eax + 0x51], 0
je 0x49fcd1
mov eax, 0x60d7e0
jmp 0x49fce9
mov ecx, dword [esp + 0x60]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx]
mov edx, dword [esi]
cmp byte [eax + 0x51], 0
je 0x49fd0b
mov edi, dword [esp + 0x28]
mov eax, 0x60d7e0
mov esi, dword [esp + 0x10]
mov dword [eax + 8], edx
jmp 0x49fd84
mov esi, dword [esp + 0x10]
lea eax, [edx - 1]
test edi, edi
cmovns eax, edi
mov edi, dword [esp + 0x28]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x49fd84
cmp eax, esi
jg 0x49fd50
mov edx, dword [esp + 0x50]
mov ecx, ebx
push 0
push edx
push dword [ebp + 0x14]
mov edx, 5
call fcn.0047a300
mov esi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x49fd84
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
lea eax, [esi + 1]
mov esi, dword [esp + 0x10]
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x30]
xor edx, edx
push 0
push 0x5fad08
push 1
push dword [esp + 0x74]
push dword [ebp + 0x10]
call fcn.0047a720
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov edx, dword [edi]
cmp dword [eax], edx
jg 0x49fdc9
push dword [esp + 0x1c]
mov edx, 0x5b
mov ecx, ebx
push 3
push dword [esp + 0x64]
call fcn.0047a300
add esp, 0xc
mov edx, eax
jmp 0x49fdfe
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi]
mov esi, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
je 0x49fe17
push 0x6011b4
xor edx, edx
call fcn.0047af00
add esp, 4
jmp 0x49fe37
test edx, edx
jns 0x49fe1e
mov edx, dword [edi]
dec edx
mov eax, dword [esi]
lea ecx, [edx + edx*4]
push 0
push 0x6011b4
lea edx, [eax + ecx*4]
mov ecx, ebx
call fcn.0047b0d0
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x49fe5e
push 0
push dword [esp + 0x3c]
mov edx, 0x78
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.0047a300
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x49fe92
mov ebx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov edx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x49feb6
push dword [esp + 0x38]
mov ecx, ebx
push dword [esp + 0x20]
push edx
mov edx, 0x79
call fcn.0047a300
add esp, 0xc
jmp 0x49fee7
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
test eax, eax
jle 0x49fefc
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx]
mov edx, dword [edi]
cmp byte [eax + 0x51], 0
je 0x49ff0d
mov eax, 0x60d7e0
jmp 0x49ff21
mov ecx, dword [esp + 0x7c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x44], eax
jmp 0x49ff48
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x44]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x34], edx
test edx, edx
jne 0x49f203
test ecx, ecx
jne 0x4a0206
cmp byte [esp + 0x44], cl
je 0x4a0206
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x80]
cmp dword [ebx + 0x70], ecx
jg 0x49ff9b
push 0
push dword [esp + 0x6c]
mov edx, 0x5c
mov ecx, ebx
push esi
call fcn.0047a300
mov edi, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x68]
add edi, 0x68
jmp 0x49ffcc
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea edi, [ebx + 0x68]
mov eax, dword [edi]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x14]
mov ebx, dword [ebx + 0x6c]
cmp dword [esi + 0x70], ebx
jg 0x49fff0
push 0
push 0
push edx
mov edx, 0x14
mov ecx, esi
call fcn.0047a300
add esp, 0xc
mov ebx, eax
jmp 0x4a0022
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edi]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a0043
push 0
push dword [esp + 0x74]
mov edx, 0x48
mov ecx, esi
push 0
call fcn.0047a300
add esp, 0xc
jmp 0x4a0075
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x6c]
cmp dword [ecx + 0x70], esi
jg 0x4a009c
push dword [esp + 0x1c]
mov edx, 0x5b
push 3
push dword [esp + 0x64]
call fcn.0047a300
add esp, 0xc
mov esi, eax
jmp 0x4a00ce
mov edx, dword [esp + 0x5c]
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp byte [ecx + 0x51], 0
je 0x4a00ef
push 0x6011b4
xor edx, edx
call fcn.0047af00
mov esi, dword [esp + 0x18]
add esp, 4
jmp 0x4a0114
test esi, esi
jns 0x4a00f7
mov esi, dword [eax + 0x6c]
dec esi
mov eax, dword [edi]
lea ecx, [esi + esi*4]
mov esi, dword [esp + 0x14]
push 0
push 0x6011b4
lea edx, [eax + ecx*4]
mov ecx, esi
call fcn.0047b0d0
add esp, 8
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a0139
push 0
push dword [esp + 0x3c]
mov edx, 0x78
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0047a300
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x4a016e
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a0190
push dword [esp + 0x38]
mov ecx, esi
push dword [esp + 0x20]
push edx
mov edx, 0x79
call fcn.0047a300
add esp, 0xc
jmp 0x4a01c2
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4a01d8
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [edi]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4a01f2
mov eax, 0x60d7e0
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
lea eax, [edx - 1]
cmovns eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret