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

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [esp + 8], eax
inc eax
mov dword [esp + 0x30], eax
push ebx
push ebp
mov ebp, dword [esp + 0x64]
lea ebx, [eax + 1]
add eax, 2
mov byte [esp + 0x30], 1
mov dword [esp + 0x3c], eax
inc eax
mov dword [esp + 0x34], eax
inc eax
mov ecx, dword [ebp]
mov dword [esp + 0x54], eax
inc eax
mov dword [esp + 0x50], eax
inc eax
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x78], eax
cmp dword [ebp + 0x2c], eax
jge 0x4c6527
mov dword [ebp + 0x2c], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x4c6534
mov dword [esp + 0x18], esi
jmp 0x4c655b
cmp dword [ebp + 0x7c], 0
jne 0x4c6544
test byte [ecx + 0x50], 8
jne 0x4c6544
mov byte [ebp + 0x17], 1
push ebp
call fcn.0052ba20
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
je 0x4c7223
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x4c7223
cmp byte [edx + 0x2b], 0
jne 0x4c7223
mov eax, dword [edx]
test eax, eax
je 0x4c6598
push 0x5c
push 0x6e876c
push eax
push str.sqlite__
call fcn.004ed2b0
add esp, 0x10
test eax, eax
je 0x4c7223
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx + 0x3c]
push edi
mov edi, 0xffff8000
mov dword [esp + 0x28], edi
test ecx, ecx
je 0x4c65cc
mov eax, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x28], edi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4c65cc
nop dword [eax]
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x4c65c0
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x20]
mov ecx, edi
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push 0
push dword [edx]
push 0x1c
push ebp
call fcn.004f9a50
add esp, 0x14
test eax, eax
jne 0x4c7222
mov eax, dword [esp + 0x70]
push dword [eax]
push 0
push dword [eax + 0x14]
push edi
push ebp
call fcn.00526e70
mov eax, dword [esp + 0x94]
mov edx, eax
inc eax
mov dword [esp + 0x78], edx
push 0x70
push dword [esp + 0x88]
mov dword [esp + 0x9c], eax
lea ecx, [eax + 1]
mov eax, dword [ebp + 0x28]
cmp eax, ecx
push edi
push edx
cmovle eax, ecx
push ebp
mov dword [ebp + 0x28], eax
call fcn.00516690
mov edi, dword [esp + 0x98]
push dword [edi]
push dword [esp + 0x68]
push esi
call fcn.00535a90
mov edx, dword [edi + 8]
add esp, 0x34
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], edx
test edx, edx
je 0x4c719a
test eax, eax
je 0x4c666c
cmp eax, edx
jne 0x4c718b
mov eax, dword [esp + 0x38]
xor ecx, ecx
cmp dword [edx + 0x24], ecx
movzx eax, al
cmove eax, ecx
test byte [edi + 0x1c], 0x80
mov dword [esp + 0x38], eax
je 0x4c6698
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x4c6698
movzx ebx, word [edx + 0x32]
mov eax, edi
mov ecx, ebx
jmp 0x4c66aa
test byte [edx + 0x38], 8
mov eax, edx
movzx ebx, word [edx + 0x34]
mov ecx, ebx
je 0x4c66aa
movzx ecx, word [edx + 0x32]
push 0
push dword [eax]
lea edi, [ecx - 1]
push 0
push dword [esp + 0x68]
mov dword [esp + 0x44], edi
push 0
push 0x75
push esi
call fcn.0052b4d0
mov eax, dword [esp + 0x98]
add esp, 0x1c
add eax, edi
cmp dword [ebp + 0x2c], eax
jge 0x4c66d9
mov dword [ebp + 0x2c], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx + 0x2c]
cmp dword [esi + 0x70], ecx
jg 0x4c6701
push dword [esp + 0x28]
push edx
push dword [esp + 0x88]
push 0x70
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c6733
mov edi, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x14]
mov edi, dword [ebp + 8]
push ebp
call fcn.00514ae0
mov edx, eax
add esp, 8
test edx, edx
je 0x4c677f
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4c676d
cmp dword [eax + 0x210], 0
jne 0x4c677f
add dword [edx], 0xffffffff
jne 0x4c677f
push edx
push dword [edx + 0xc]
call fcn.00503150
add esp, 8
jmp 0x4c677f
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x4c679d
push 0
push edx
push ebx
push 0x47
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c67c8
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
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
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x6c]
movzx edx, word [eax + 0x32]
cmp dword [esi + 0x70], ecx
jg 0x4c67ec
push 0
push dword [esp + 0x44]
push edx
push 0x47
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c681b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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 ebx, dword [esi + 0x6c]
mov dword [esp + 0x54], ebx
cmp dword [esi + 0x70], ebx
jg 0x4c684a
push 0
push 0
push dword [esp + 0x88]
push 0x24
push esi
call fcn.004dd7e0
mov edx, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x54], eax
jmp 0x4c6880
mov edx, dword [esp + 0x80]
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
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 0x4c689c
push 1
push dword [esp + 0x14]
push edx
push 0x62
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c68cb
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x62
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 + 0x20]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax + 0x1f0]
cmp dword [esi + 0x70], ecx
jg 0x4c68f1
push 0
push dword [esp + 0x48]
push edx
push 0x47
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c6920
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
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 edi, dword [ebp + 8]
push 0
push 0x2c
push dword [ebp]
call fcn.00503030
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4c6996
push 0xfffffffffffffff1
push ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0x6e9e74
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x1a], 4
mov eax, dword [edi + 0x6c]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x34]
push eax
inc eax
push eax
push 0
push 0x42
push edi
call fcn.0052b4d0
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x4c6988
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 0x7c]
mov ecx, ebp
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4c69b3
push 0
push dword [esp + 0x1c]
push 0
push 0x47
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c69e6
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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 ebx, dword [esp + 0x34]
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
test ebx, ebx
jle 0x4c6d5b
dec dword [ebp + 0x38]
lea eax, [ebx*4]
mov edi, dword [ebp + 0x38]
push 0
push eax
push dword [esp + 0x28]
mov dword [esp + 0x5c], edi
call fcn.00503030
add esp, 0xc
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4c717b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4c6a40
push 0
push 0
push 0
push 9
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c6a73
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
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
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x24], ecx
cmp ebx, 1
jne 0x4c6ada
mov eax, dword [esp + 0x14]
cmp word [eax + 0x32], bx
jne 0x4c6ada
cmp byte [eax + 0x36], 0
je 0x4c6ada
cmp dword [esi + 0x70], ecx
jg 0x4c6aab
push 0
push edi
push dword [esp + 0x84]
push 0x33
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c6ada
mov edx, dword [esp + 0x7c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor edi, edi
nop dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp]
mov eax, dword [eax + 0x20]
mov bl, byte [ecx + 0xb1]
mov edx, dword [eax + edi*4]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x48], al
movzx eax, bl
push eax
push edx
push dword [esp + 0x50]
mov dword [esp + 0x6c], edx
push ecx
call fcn.0050a910
add esp, 0x10
mov ebp, eax
test bl, bl
jne 0x4c6b37
test ebp, ebp
je 0x4c6b20
cmp dword [ebp + 0xc], 0
jne 0x4c6b37
push dword [esp + 0x60]
push ebp
push dword [esp + 0x50]
push dword [esp + 0x78]
call fcn.00510ea0
add esp, 0x10
mov ebp, eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4c6b53
push 0
push dword [esp + 0x1c]
push edi
push 0x47
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c6b82
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
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 ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4c6ba3
push dword [esp + 0x10]
push edi
push dword [esp + 0x88]
push 0x5e
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c6bd5
mov edx, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x7c]
push 0xfffffffffffffffe
push ebp
add eax, edi
push eax
push 0
push dword [esp + 0x20]
push 0x34
push esi
call fcn.0052b4d0
mov ebx, dword [esp + 0x68]
add esp, 0x1c
mov dword [ebx + edi*4], eax
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4c6c0e
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x34]
inc edi
mov ebp, dword [esp + 0x6c]
cmp edi, edx
jl 0x4c6ae0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4c6c3b
push 0
push dword [esp + 0x1c]
push edx
push 0x47
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c6c6a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
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 ebp, dword [esp + 0x50]
push ebp
push esi
call fcn.00535260
mov eax, dword [esi]
add esp, 8
mov edx, dword [esi + 0x6c]
xor edi, edi
cmp byte [eax + 0x57], 0
je 0x4c6c8d
mov dword [0x7937b0], edx
jmp 0x4c6c9b
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 - 0xc], edx
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4c6cb9
mov eax, 0x7937a8
jmp 0x4c6cc5
mov eax, dword [ebx + edi*4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x7c]
mov ecx, dword [esi + 0x6c]
add edx, edi
cmp dword [esi + 0x70], ecx
jg 0x4c6cec
push edx
push edi
push dword [esp + 0x88]
push 0x5e
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c6d1e
mov ebx, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc edi
cmp edi, ebp
jl 0x4c6ca7
mov ecx, dword [esi + 0xc]
mov ebp, dword [esp + 0x50]
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4c6d41
push ebp
push esi
push ecx
call fcn.004f1810
add esp, 0xc
jmp 0x4c6d4a
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebp*4], eax
push ebx
push dword [esp + 0x24]
call fcn.00502f20
mov ebp, dword [esp + 0x74]
add esp, 8
mov edi, dword [ebp + 8]
push 0
push 0x24
push dword [ebp]
call fcn.00503030
mov ebx, dword [esp + 0x1c]
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4c6dd3
push 0xfffffffffffffff1
push ecx
push ebx
push dword [esp + 0x38]
mov dword [ecx], 0
push 1
mov dword [ecx + 4], 0x6e9e9c
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x1a], 2
mov eax, dword [edi + 0x6c]
push 0x42
push edi
mov dword [ecx + 0x10], eax
call fcn.0052b4d0
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x4c6dc5
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 0x7c]
mov ecx, ebp
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + 0x6c]
cmp dword [ecx + 0x1f0], 0
mov eax, dword [eax + 0x70]
je 0x4c6fb4
cmp eax, edi
jg 0x4c6e0a
push 0
push 0
push ebx
push 0x32
push esi
call fcn.004dd7e0
mov edx, dword [esp + 0x24]
add esp, 0x14
mov edi, eax
jmp 0x4c6e3d
mov edx, dword [esp + 0x10]
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
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 ebx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ebx
jg 0x4c6e59
push 0
push 0
push edx
push 0x10
push esi
call fcn.004dd7e0
add esp, 0x14
mov ebx, eax
jmp 0x4c6e88
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x10
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 ebp, dword [esi + 0x6c]
cmp dword [esi + 0x70], ebp
jg 0x4c6eb1
push 1
push dword [esp + 0x80]
push 0
push dword [esp + 0x8c]
push 0x18
push esi
call fcn.004c4c90
add esp, 0x18
mov ebp, eax
jmp 0x4c6eed
mov edx, dword [esp + 0x80]
lea eax, [ebp + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [esi + 0x68]
add ecx, ebp
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4], 0xfd18
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 1
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4c6eff
mov eax, 0x7937a8
jmp 0x4c6f08
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4c6f2e
mov edx, dword [esp + 0x24]
push 0
push edx
push dword [esp + 0x88]
push 0x27
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c6f64
mov edx, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4c6f76
mov eax, 0x7937a8
jmp 0x4c6f7f
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4c6f9b
mov ebp, dword [esp + 0x6c]
mov eax, 0x7937a8
mov dword [eax + 8], edx
jmp 0x4c7009
mov eax, dword [esi + 0x68]
lea ecx, [ebp*4]
add ecx, ebp
mov ebp, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4c7009
cmp eax, edi
jg 0x4c6fd3
mov edx, dword [esp + 0x24]
push 0
push edx
push dword [esp + 0x88]
push 0x27
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c7009
mov edx, dword [esp + 0x80]
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [ebp + 8]
push 0
push 0x20
push dword [ebp]
call fcn.00503030
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4c7080
push 0xfffffffffffffff1
push ecx
push dword [esp + 0x60]
mov dword [ecx], 0
push dword [esp + 0x38]
mov dword [ecx + 4], 0x6e9ec4
push 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x1a], 1
mov eax, dword [edi + 0x6c]
push 0x42
push edi
mov dword [ecx + 0x10], eax
call fcn.0052b4d0
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x4c7072
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 0x7c]
mov ecx, ebp
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ebx, dword [esp + 0x10]
push 0
push 0x6ee5ec
push ebx
push 3
push dword [esp + 0x4c]
push 0x61
push esi
call fcn.0052b4d0
mov ecx, dword [esi + 0x6c]
add esp, 0x1c
mov edi, dword [esp + 0x30]
cmp dword [esi + 0x70], ecx
jg 0x4c70c7
push 0
push edi
push dword [esp + 0x80]
push 0x7f
push esi
call fcn.004dd7e0
mov edx, dword [esp + 0x8c]
add esp, 0x14
jmp 0x4c70f6
mov edx, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
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 0x4c7111
push edi
push ebx
push edx
push 0x80
push esi
call fcn.004dd7e0
add esp, 0x14
jmp 0x4c713c
mov ebp, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4c7153
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4c7168
mov eax, 0x7937a8
mov dword [eax + 8], edx
jmp 0x4c717f
mov eax, dword [esp + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4c717f
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4c6660
test eax, eax
jne 0x4c7222
cmp byte [esp + 0x38], al
je 0x4c7222
mov ebp, dword [esp + 0x58]
push ebp
push dword [esp + 0x68]
push 0x62
push esi
call fcn.0052b410
push ebp
push 0x11
push esi
call fcn.0052b3b0
push dword [esp + 0x78]
mov edi, eax
push 0
push 0x4b
push esi
call fcn.0052b410
push 0
push 0x6ee5ec
push ebx
push 3
push dword [esp + 0x78]
push 0x61
push esi
call fcn.0052b4d0
mov ebp, dword [esp + 0xc0]
add esp, 0x48
push dword [esp + 0x30]
push ebp
push 0x7f
push esi
call fcn.0052b410
push dword [esp + 0x40]
push ebx
push ebp
push 0x80
push esi
call fcn.0052b470
push 8
push esi
call fcn.0052b930
push edi
push esi
call fcn.00535820
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret