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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x44], eax
inc eax
push ebx
push esi
mov dword [ebp + 0x10], eax
mov esi, edx
inc eax
mov dword [esp + 0x48], esi
push edi
mov edi, ecx
mov dword [esp + 0x64], eax
mov ecx, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], ecx
inc ecx
mov dword [esp + 0x74], ecx
inc ecx
mov eax, dword [edi + 0x2c]
mov ebx, dword [edi + 8]
mov edx, dword [edi]
mov dword [esp + 0x18], ecx
inc ecx
mov dword [esp + 0x78], ecx
inc ecx
mov dword [esp + 0x58], ecx
inc ecx
mov dword [esp + 0x70], ecx
inc ecx
mov dword [esp + 0x6c], ecx
inc ecx
cmp eax, ecx
mov dword [esp + 0x44], edx
mov byte [esp + 0x34], 1
cmovle eax, ecx
mov dword [esp + 0x28], ecx
mov dword [edi + 0x2c], eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4b7d8c
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebx
jmp 0x4b7db9
cmp dword [edi + 0x74], 0
jne 0x4b7d9c
test byte [edx + 0x50], 8
jne 0x4b7d9c
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00491890
mov ebx, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x48], ebx
test ebx, ebx
je 0x4b8e0e
test esi, esi
je 0x4b8e0e
cmp byte [esi + 0x2b], 0
jne 0x4b8e0e
mov edx, dword [esi]
mov ecx, str.sqlite__
push 0x5c
push 0x592820
call fcn.004c8850
add esp, 8
test eax, eax
je 0x4b8e0e
mov ecx, dword [esi + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x3c], edx
test ecx, ecx
je 0x4b7e1c
mov eax, dword [esp + 0x44]
xor edx, edx
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4b7e1c
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4b7e10
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x44]
mov esi, edx
add esi, esi
mov edx, 0x1c
mov ecx, edi
mov eax, dword [eax + 0x10]
push dword [eax + esi*8]
mov eax, dword [esp + 0x50]
push 0
push dword [eax]
call fcn.004ba730
add esp, 0xc
test eax, eax
jne 0x4b8e0e
mov ecx, dword [esp + 0x3c]
cmp ecx, 1
je 0x4b7e78
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*8 + 4]
cmp byte [eax + 9], 0
je 0x4b7e78
mov eax, dword [esp + 0x4c]
mov edx, ecx
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.004ba7c0
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov edx, eax
mov esi, dword [esp + 0x4c]
inc eax
mov dword [ebp + 0x14], eax
push 0x65
push esi
push dword [esp + 0x44]
lea ecx, [eax + 1]
mov dword [esp + 0x8c], edx
mov eax, dword [edi + 0x28]
cmp eax, ecx
cmovle eax, ecx
mov ecx, edi
mov dword [edi + 0x28], eax
call fcn.004cec30
mov edx, dword [esp + 0x64]
add esp, 0xc
mov ecx, ebx
push dword [esi]
call fcn.00491c00
mov ecx, dword [ebp + 8]
mov edx, esi
add esp, 4
mov edi, dword [edx + 8]
mov dword [esp + 0x30], edi
test edi, edi
je 0x4b8b77
mov eax, dword [esp + 0x34]
test ecx, ecx
je 0x4b7edf
cmp ecx, edi
jne 0x4b8b64
xor ecx, ecx
movzx eax, al
cmp dword [edi + 0x24], ecx
cmovne ecx, eax
test byte [edx + 0x1c], 0x80
mov dword [esp + 0x34], ecx
je 0x4b7f0b
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
jne 0x4b7f0b
movzx esi, word [edi + 0x32]
mov eax, edx
mov dword [esp + 0x5c], esi
mov ecx, esi
jmp 0x4b7f21
test byte [edi + 0x38], 8
movzx eax, word [edi + 0x34]
mov dword [esp + 0x5c], eax
mov ecx, eax
mov eax, edi
je 0x4b7f21
movzx ecx, word [edi + 0x32]
push dword [eax]
mov edx, dword [esp + 0x74]
lea esi, [ecx - 1]
mov ecx, ebx
mov dword [esp + 0x64], esi
call fcn.00491c00
mov edx, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esp + 0x28]
add ecx, esi
mov eax, dword [edx + 0x2c]
cmp eax, ecx
cmovle eax, ecx
mov dword [edx + 0x2c], eax
lea eax, [ebx + 0x78]
mov edx, dword [edi + 0x2c]
lea edi, [ebx + 0x74]
mov ecx, dword [edi]
mov dword [esp + 0x14], eax
cmp dword [eax], ecx
jg 0x4b7f84
push dword [esp + 0x3c]
mov ecx, ebx
push edx
push dword [ebp + 0x14]
mov edx, 0x65
call fcn.00491ae0
mov eax, dword [esp + 0x44]
add esp, 0xc
add eax, 0x70
mov dword [esp + 0x10], eax
jmp 0x4b7fb7
mov esi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
lea eax, [ebx + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x65
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 + 0x24]
mov ecx, eax
mov edx, dword [esp + 0x30]
mov esi, dword [eax + 8]
call fcn.004c46e0
mov edx, eax
test edx, edx
je 0x4b7ff9
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4b7fe7
push edx
mov edx, 0xfffffff7
call fcn.004925f0
add esp, 4
jmp 0x4b7ff9
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x4b8024
mov edx, dword [esp + 0x64]
mov ecx, ebx
push 0
push edx
mov edx, dword [esp + 0x64]
push edx
mov edx, 0x47
call fcn.00491ae0
mov esi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4b8059
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x5c]
lea ecx, [ecx + ecx*4]
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4], 0x47
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 + 0x30]
mov ecx, dword [edi]
movzx edx, word [eax + 0x32]
mov eax, dword [esp + 0x14]
cmp dword [eax], ecx
jg 0x4b8083
push 0
push dword [esp + 0x78]
mov ecx, ebx
push edx
mov edx, 0x47
call fcn.00491ae0
add esp, 0xc
jmp 0x4b80b4
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], 0x47
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 + 0x14]
mov ecx, dword [edi]
mov dword [esp + 0x7c], ecx
cmp dword [eax], ecx
jg 0x4b80e1
push 0
push 0
push dword [ebp + 0x14]
mov edx, 0x26
mov ecx, ebx
call fcn.00491ae0
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov dword [esp + 0x7c], eax
jmp 0x4b8111
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], 0x26
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 + 0x14]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x4b8133
push 1
push dword [esp + 0x1c]
mov ecx, ebx
push edx
mov edx, 0x61
call fcn.00491ae0
add esp, 0xc
jmp 0x4b8164
mov ebx, dword [esp + 0x1c]
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 + 0x18]
mov dword [eax + ecx*4], 0x61
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 + 0x44]
mov ecx, dword [edi]
mov edx, dword [eax + 0x1ec]
mov eax, dword [esp + 0x14]
cmp dword [eax], ecx
jg 0x4b8190
push 0
push dword [esp + 0x7c]
mov ecx, ebx
push edx
mov edx, 0x47
call fcn.00491ae0
add esp, 0xc
jmp 0x4b81c1
mov ebx, dword [esp + 0x1c]
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], 0x47
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 + 0x24]
xor edx, edx
push 0
push 0x594600
push 4
push dword [ebp + 0x10]
push dword [esp + 0x74]
call fcn.00491f80
mov eax, dword [esp + 0x28]
add esp, 0x14
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x4b8202
push 0
push dword [esp + 0x44]
mov edx, 0x47
mov ecx, ebx
push 0
call fcn.00491ae0
add esp, 0xc
jmp 0x4b8233
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x47
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 + 0x60]
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
test ecx, ecx
jle 0x4b86f6
mov eax, dword [esp + 0x24]
push 0
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x58], eax
lea eax, [ecx*4]
mov ecx, dword [esp + 0x48]
push eax
call fcn.0046d640
add esp, 8
mov dword [esp + 0x68], eax
test eax, eax
je 0x4b8b59
mov edx, dword [esp + 0x14]
mov ecx, dword [edi]
cmp dword [edx], ecx
jg 0x4b829a
push 0
push 0
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.00491ae0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4b82cf
mov ebx, dword [esp + 0x1c]
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 + 0x60], 1
mov ecx, dword [edi]
mov dword [esp + 0x2c], ecx
jne 0x4b833d
mov eax, dword [esp + 0x30]
cmp word [eax + 0x32], 1
jne 0x4b833d
cmp byte [eax + 0x36], 0
je 0x4b833d
cmp dword [edx], ecx
jg 0x4b830c
push 0
push dword [esp + 0x58]
mov edx, 0x33
mov ecx, ebx
push dword [esp + 0x30]
call fcn.00491ae0
add esp, 0xc
jmp 0x4b833d
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x54]
lea ecx, [ecx + ecx*4]
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], ebx
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 + 0x20], eax
lea ecx, [eax*4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], ecx
mov eax, dword [eax + 0x20]
mov esi, dword [ecx + eax]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov bl, byte [ecx + 0xb1]
mov bh, byte [ecx + 0x54]
movzx eax, bl
mov dl, bh
push eax
push esi
call fcn.004c4a80
add esp, 8
mov dword [esp + 0x5c], eax
test bl, bl
jne 0x4b839f
test eax, eax
je 0x4b838b
cmp dword [eax + 0xc], 0
jne 0x4b839f
mov ecx, dword [esp + 0x24]
mov dl, bh
push esi
push eax
call fcn.004c4b90
add esp, 8
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x4b83d0
mov ebx, dword [esp + 0x1c]
mov edx, 0x47
push 0
push dword [esp + 0x44]
mov ecx, ebx
push dword [esp + 0x28]
call fcn.00491ae0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov esi, dword [esp + 0x10]
jmp 0x4b8409
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x20]
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x47
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 + 0x14]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x4b8430
push dword [esp + 0x18]
mov ecx, ebx
push edx
push dword [ebp + 0x14]
mov edx, 0x5d
call fcn.00491ae0
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4b845c
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov esi, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov esi, dword [edi]
add edx, dword [esp + 0x28]
cmp dword [eax], esi
jg 0x4b8484
push edx
push 0
push dword [esp + 0x20]
mov edx, 0x34
mov ecx, ebx
call fcn.00491ae0
add esp, 0xc
mov esi, eax
jmp 0x4b84b9
mov ebx, dword [esp + 0x18]
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 + 4], ebx
mov ebx, dword [esp + 0x1c]
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 + 0x57], 0
je 0x4b84d7
mov edx, dword [esp + 0x5c]
push edx
mov edx, 0xfffffffe
call fcn.004925f0
add esp, 4
jmp 0x4b8511
test esi, esi
jns 0x4b84de
mov eax, dword [edi]
dec eax
mov edx, dword [esp + 0x5c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b8506
push 0xfffffffffffffffe
push edx
mov edx, eax
mov ecx, ebx
call fcn.00492840
add esp, 8
jmp 0x4b8511
test edx, edx
je 0x4b8511
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x68]
mov dword [eax + ecx], esi
mov eax, dword [edi]
mov esi, dword [esp + 0x10]
test eax, eax
jle 0x4b8538
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
inc eax
mov dword [esp + 0x20], eax
cmp eax, edx
jl 0x4b8343
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x4b856f
push 0
push dword [esp + 0x44]
mov ecx, ebx
push edx
mov edx, 0x47
call fcn.00491ae0
add esp, 0xc
jmp 0x4b85a0
mov ebx, dword [esp + 0x1c]
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 + 0x40]
mov dword [eax + ecx*4], 0x47
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 + 0x14]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x4b85c3
push 0
push dword [esp + 0x58]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.00491ae0
add esp, 0xc
jmp 0x4b85f4
mov edx, dword [esp + 0x54]
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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi]
dec ecx
mov dword [esp + 0x1c], ebx
cmp byte [eax + 0x57], 0
je 0x4b860f
mov dword [0x5cdb80], edx
jmp 0x4b8621
test ecx, ecx
mov eax, edx
cmovns eax, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
mov dword [eax + ecx*4 - 0xc], edx
mov eax, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov edx, dword [edi]
mov ecx, dword [eax + esi*4]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4b864b
mov eax, 0x5cdb78
jmp 0x4b865f
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 + 0x14]
mov edx, dword [esp + 0x28]
mov ecx, dword [edi]
add edx, esi
cmp dword [eax], ecx
jg 0x4b8688
push edx
push esi
push dword [ebp + 0x14]
mov edx, 0x5d
mov ecx, ebx
call fcn.00491ae0
add esp, 0xc
jmp 0x4b86b8
mov ebx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi], 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], 0x5d
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 + 0x60]
jl 0x4b8633
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x54]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b86e1
push edx
mov edx, ebx
call fcn.00492300
add esp, 4
jmp 0x4b86e9
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
call fcn.0046d250
mov ecx, dword [esp + 0x24]
mov edx, 1
push 0
push 0x597a60
push 2
push dword [esp + 0x24]
push dword [ebp + 0x10]
call fcn.00491f80
mov ecx, dword [esp + 0x58]
add esp, 0x14
mov eax, dword [esp + 0x14]
mov esi, dword [edi]
cmp dword [ecx + 0x1ec], 0
mov eax, dword [eax]
je 0x4b894e
cmp eax, esi
jg 0x4b8753
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x32
mov ecx, ebx
call fcn.00491ae0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov esi, eax
jmp 0x4b878c
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x18]
lea ecx, [esi + esi*4]
mov dword [edi], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x32
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 + 0x14]
mov ecx, dword [edi]
mov dword [esp + 0x68], ecx
cmp dword [eax], ecx
jg 0x4b87b7
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x12
mov ecx, ebx
call fcn.00491ae0
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x4b87e8
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x18]
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 + 0x14]
mov edx, dword [edi]
mov dword [esp + 0x60], edx
cmp dword [eax], edx
jg 0x4b8816
push dword [esp + 0x28]
mov edx, 0x1a
mov ecx, ebx
push 0
push dword [ebp + 0x14]
call fcn.00491ae0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x60], edx
jmp 0x4b884e
mov ebx, dword [ebp + 0x14]
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x1a
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
jne 0x4b8872
mov eax, dword [esp + 0x10]
lea ecx, [edx + edx*4]
mov eax, dword [eax]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
mov edx, dword [edi]
je 0x4b8885
mov esi, dword [esp + 0x10]
mov eax, 0x5cdb78
jmp 0x4b8899
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
mov esi, dword [esp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x4b88c0
push 0
push dword [esp + 0x30]
mov edx, 5
mov ecx, ebx
push dword [ebp + 0x14]
call fcn.00491ae0
add esp, 0xc
jmp 0x4b88f0
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 + 4], edx
mov edx, dword [esp + 0x2c]
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 [edi]
cmp byte [eax + 0x57], 0
je 0x4b8901
mov eax, 0x5cdb78
jmp 0x4b8915
mov ecx, dword [esp + 0x68]
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 dword [eax + 8], edx
mov eax, dword [ebx]
mov edx, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4b8930
mov esi, dword [esp + 0x10]
mov eax, 0x5cdb78
mov dword [eax + 8], edx
jmp 0x4b89a4
mov ecx, dword [esp + 0x60]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4b89a4
cmp eax, esi
jg 0x4b8970
push 0
push dword [esp + 0x30]
mov edx, 5
mov ecx, ebx
push dword [ebp + 0x14]
call fcn.00491ae0
mov esi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4b89a4
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 + 0x2c]
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 + 0x24]
xor edx, edx
push 0
push 0x594474
push 1
push dword [esp + 0x78]
push dword [ebp + 0x10]
call fcn.00491f80
mov eax, dword [esp + 0x28]
add esp, 0x14
mov edx, dword [edi]
cmp dword [eax], edx
jg 0x4b89e9
push dword [esp + 0x18]
mov edx, 0x60
mov ecx, ebx
push 3
push dword [esp + 0x60]
call fcn.00491ae0
add esp, 0xc
mov edx, eax
jmp 0x4b8a1e
lea eax, [edx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi]
mov esi, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
je 0x4b8a37
push 0x5a3a28
xor edx, edx
call fcn.004925f0
add esp, 4
jmp 0x4b8a57
test edx, edx
jns 0x4b8a3e
mov edx, dword [edi]
dec edx
mov eax, dword [esi]
lea ecx, [edx + edx*4]
push 0
push 0x5a3a28
lea edx, [eax + ecx*4]
mov ecx, ebx
call fcn.00492840
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x4b8a7e
push 0
push dword [esp + 0x54]
mov edx, 0x7e
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.00491ae0
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x4b8ab2
mov ebx, dword [esp + 0x50]
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 + 0x1c]
mov dword [eax + ecx*4], 0x7e
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 + 0x14]
mov ecx, dword [edi]
cmp dword [eax], ecx
jg 0x4b8ad6
push dword [esp + 0x50]
mov ecx, ebx
push dword [esp + 0x1c]
push edx
mov edx, 0x7f
call fcn.00491ae0
add esp, 0xc
jmp 0x4b8b07
mov ebx, dword [esp + 0x1c]
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 + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
test eax, eax
jle 0x4b8b1c
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 + 0x57], 0
je 0x4b8b2d
mov eax, 0x5cdb78
jmp 0x4b8b41
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 edi, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
jmp 0x4b8b68
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x34]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x30], edi
test edi, edi
jne 0x4b7ed3
test ecx, ecx
jne 0x4b8e0e
cmp byte [esp + 0x34], cl
je 0x4b8e0e
mov ecx, dword [ebx + 0x74]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x80]
cmp dword [ebx + 0x78], ecx
jg 0x4b8bb8
push 0
push esi
push edx
mov edx, 0x61
mov ecx, ebx
call fcn.00491ae0
mov edi, dword [esp + 0x44]
add esp, 0xc
add edi, 0x70
jmp 0x4b8be5
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea edi, [ebx + 0x70]
mov eax, dword [edi]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x80], edx
cmp dword [ebx + 0x78], edx
jg 0x4b8c11
push 0
push 0
push esi
mov edx, 0x14
mov ecx, ebx
call fcn.00491ae0
add esp, 0xc
mov dword [esp + 0x80], eax
jmp 0x4b8c3f
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4b8c60
push 0
push dword [esp + 0x74]
mov edx, 0x4a
mov ecx, ebx
push 0
call fcn.00491ae0
add esp, 0xc
jmp 0x4b8c92
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x4a
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 esi, dword [ebx + 0x74]
cmp dword [ebx + 0x78], esi
jg 0x4b8cb7
push dword [esp + 0x18]
mov edx, 0x60
mov ecx, ebx
push 3
push dword [esp + 0x60]
call fcn.00491ae0
add esp, 0xc
mov esi, eax
jmp 0x4b8ce9
mov edx, dword [esp + 0x58]
lea eax, [esi + 1]
mov dword [ebx + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
je 0x4b8d02
push 0x5a3a28
xor edx, edx
call fcn.004925f0
add esp, 4
jmp 0x4b8d23
test esi, esi
jns 0x4b8d0a
mov esi, dword [ebx + 0x74]
dec esi
mov eax, dword [edi]
lea ecx, [esi + esi*4]
push 0
push 0x5a3a28
lea edx, [eax + ecx*4]
mov ecx, ebx
call fcn.00492840
add esp, 8
mov ecx, dword [ebx + 0x74]
mov esi, dword [esp + 0x50]
cmp dword [ebx + 0x78], ecx
jg 0x4b8d49
push 0
push esi
push dword [ebp + 0xc]
mov edx, 0x7e
mov ecx, ebx
call fcn.00491ae0
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x4b8d76
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4b8d95
push esi
push dword [esp + 0x1c]
mov ecx, ebx
push edx
mov edx, 0x7f
call fcn.00491ae0
add esp, 0xc
jmp 0x4b8dc3
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x74]
test eax, eax
jle 0x4b8dd9
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [edi]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx]
mov edx, dword [ebx + 0x74]
cmp byte [eax + 0x57], 0
je 0x4b8df3
mov eax, 0x5cdb78
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x80]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
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