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

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x24], eax
inc eax
mov dword [esp + 8], eax
inc eax
mov dword [esp + 0x38], eax
push ebx
push ebp
mov ebp, dword [esp + 0x64]
lea ebx, [eax + 1]
add eax, 2
mov byte [esp + 0x34], 1
mov dword [esp + 0x3c], eax
inc eax
mov dword [esp + 0x38], eax
inc eax
mov ecx, dword [ebp]
mov dword [esp + 0x50], eax
inc eax
mov dword [esp + 0x4c], 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 0x46e317
mov dword [ebp + 0x2c], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x46e324
mov dword [esp + 0x18], esi
jmp 0x46e34e
cmp dword [ebp + 0x80], 0
jne 0x46e337
test byte [ecx + 0x50], 8
jne 0x46e337
mov byte [ebp + 0x17], 1
push ebp
call fcn.004d7d60
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
je 0x46f05c
push edi
mov edi, dword [esp + 0x70]
test edi, edi
je 0x46f05b
cmp byte [edi + 0x2b], 0
jne 0x46f05b
mov eax, dword [edi]
test eax, eax
je 0x46e388
push 0x5c
push 0x683d78
push eax
push str.sqlite__
call fcn.00498720
add esp, 0x10
test eax, eax
je 0x46f05b
mov ecx, dword [edi + 0x3c]
mov edi, 0xffff8000
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], edi
test ecx, ecx
je 0x46e3bc
mov eax, dword [edx + 0x10]
xor edi, edi
add eax, 0xc
mov dword [esp + 0x30], edi
cmp dword [eax], ecx
je 0x46e3bc
nop dword [eax]
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x46e3b0
mov dword [esp + 0x30], edi
mov eax, dword [edx + 0x10]
mov ecx, edi
add ecx, ecx
push dword [eax + ecx*8]
mov eax, dword [esp + 0x74]
push 0
push dword [eax]
push 0x1c
push ebp
call fcn.004a53a0
add esp, 0x14
test eax, eax
jne 0x46f05b
mov eax, dword [esp + 0x70]
push dword [eax]
push 0
push dword [eax + 0x14]
push edi
push ebp
call fcn.004d3150
mov eax, dword [esp + 0x94]
mov edx, eax
inc eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x94], eax
push 0x70
lea ecx, [eax + 1]
mov eax, dword [ebp + 0x28]
cmp eax, ecx
cmovle eax, ecx
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x88]
push eax
push edi
push edx
push ebp
call fcn.004c27a0
mov edi, dword [esp + 0x98]
push dword [edi]
push dword [esp + 0x6c]
push esi
call fcn.004e19a0
mov edx, dword [edi + 8]
add esp, 0x34
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], edx
test edx, edx
je 0x46efcf
test eax, eax
je 0x46e45d
cmp eax, edx
jne 0x46efbc
mov eax, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [edx + 0x24], ecx
movzx eax, al
cmove eax, ecx
test byte [edi + 0x1c], 0x80
mov dword [esp + 0x3c], eax
je 0x46e489
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x46e489
movzx ebx, word [edx + 0x32]
mov eax, edi
mov ecx, ebx
jmp 0x46e49b
test byte [edx + 0x38], 8
mov eax, edx
movzx ebx, word [edx + 0x34]
mov ecx, ebx
je 0x46e49b
movzx ecx, word [edx + 0x32]
push 0
push dword [eax]
lea edi, [ecx - 1]
push 0
push dword [esp + 0x64]
mov dword [esp + 0x3c], edi
push 0
push 0x75
push esi
call fcn.004d7850
mov eax, dword [esp + 0x98]
add esp, 0x1c
add eax, edi
cmp dword [ebp + 0x2c], eax
jge 0x46e4ca
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 0x46e4f2
push dword [esp + 0x30]
push edx
push dword [esp + 0x88]
push 0x70
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46e524
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 + 0x30]
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.004c08b0
mov edx, eax
add esp, 8
test edx, edx
je 0x46e570
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x46e55e
cmp dword [eax + 0x210], 0
jne 0x46e570
add dword [edx], 0xffffffff
jne 0x46e570
push edx
push dword [edx + 0xc]
call fcn.004aecf0
add esp, 8
jmp 0x46e570
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 edi, dword [esp + 0x20]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x1f0]
cmp dword [esi + 0x70], ecx
jg 0x46e596
push 0
push dword [esp + 0x48]
push edx
push 0x47
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46e5c9
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 + 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 edx, dword [esp + 0x34]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x46e5e7
push 0
push edx
push ebx
push 0x47
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46e616
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], 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 0x46e63a
push 0
push dword [esp + 0x4c]
push edx
push 0x47
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46e669
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 + 0x48]
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 edx, dword [edi + 0x50]
mov ecx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x80]
shr edx, 0xb
and edx, 1
cmp dword [esi + 0x70], ecx
jg 0x46e694
push edx
push dword [esp + 0x14]
push ebx
push 0x62
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46e6bf
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x62
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [ebp + 8]
push 0
push 0x2c
push dword [ebp]
call fcn.004aebd0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x46e738
push 0xfffffffffffffff1
push ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0x685b74
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 + 0x3c]
push eax
inc eax
push eax
push 0
push 0x42
push edi
call fcn.004d7850
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x46e727
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 0x80]
mov ecx, ebp
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x38], edx
cmp dword [esi + 0x70], edx
jg 0x46e75a
push 0
push 0
push ebx
push 0x24
push esi
call fcn.00486380
add esp, 0x14
mov dword [esp + 0x38], eax
jmp 0x46e789
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], ebx
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 0x46e7a6
push 0
push dword [esp + 0x1c]
push 0
push 0x47
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46e7d9
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 + 0x2c]
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
test ebx, ebx
jle 0x46eb48
dec dword [ebp + 0x38]
lea eax, [ebx*4]
mov edx, dword [esp + 0x20]
mov edi, dword [ebp + 0x38]
push 0
push eax
push edx
mov dword [esp + 0x5c], edi
call fcn.004aebd0
add esp, 0xc
mov dword [esp + 0x60], eax
test eax, eax
je 0x46efb0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x46e834
push 0
push 0
push 0
push 9
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46e867
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 0x46e8ce
mov eax, dword [esp + 0x14]
cmp word [eax + 0x32], bx
jne 0x46e8ce
cmp byte [eax + 0x36], 0
je 0x46e8ce
cmp dword [esi + 0x70], ecx
jg 0x46e89f
push 0
push edi
push dword [esp + 0x84]
push 0x33
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46e8ce
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
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 + 0x4c], al
movzx eax, bl
push eax
push edx
push dword [esp + 0x54]
mov dword [esp + 0x68], edx
push ecx
call fcn.004b6800
add esp, 0x10
mov ebp, eax
test bl, bl
jne 0x46e927
test ebp, ebp
je 0x46e910
cmp dword [ebp + 0xc], 0
jne 0x46e927
push dword [esp + 0x5c]
push ebp
push dword [esp + 0x54]
push dword [esp + 0x78]
call fcn.004bcc50
add esp, 0x10
mov ebp, eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x46e943
push 0
push dword [esp + 0x1c]
push edi
push 0x47
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46e972
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 0x46e993
push dword [esp + 0x10]
push edi
push dword [esp + 0x88]
push 0x5e
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46e9c5
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.004d7850
mov ebx, dword [esp + 0x7c]
add esp, 0x1c
mov dword [ebx + edi*4], eax
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x46e9fe
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ebp, dword [esp + 0x6c]
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x46e8d0
mov ecx, dword [esi + 0x6c]
mov ebp, dword [esp + 0x2c]
cmp dword [esi + 0x70], ecx
jg 0x46ea2d
push 0
push dword [esp + 0x1c]
push ebp
push 0x47
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46ea5c
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], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x50]
push esi
call fcn.004e1170
mov eax, dword [esi]
add esp, 8
mov edx, dword [esi + 0x6c]
xor edi, edi
cmp byte [eax + 0x57], 0
je 0x46ea7e
mov dword [0x718390], edx
jmp 0x46ea8c
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 dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x46eaa6
mov eax, 0x718388
jmp 0x46eab2
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 0x46ead9
push edx
push edi
push dword [esp + 0x88]
push 0x5e
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46eb0b
mov ebp, 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], ebp
mov ebp, dword [esp + 0x2c]
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 0x46ea94
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x46eb2e
push edx
push esi
push ecx
call fcn.0049ce60
add esp, 0xc
jmp 0x46eb37
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
push ebx
push dword [esp + 0x24]
call fcn.004aeac0
mov ebp, dword [esp + 0x74]
add esp, 8
mov edi, dword [ebp + 8]
push 0
push 0x24
push dword [ebp]
call fcn.004aebd0
mov ebx, dword [esp + 0x1c]
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x46ebc3
push 0xfffffffffffffff1
push ecx
push ebx
push dword [esp + 0x40]
mov dword [ecx], 0
push 1
mov dword [ecx + 4], 0x685bc4
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.004d7850
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x46ebb2
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 0x80]
mov ecx, ebp
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, dword [eax + 0x6c]
cmp dword [edx + 0x1f0], 0
mov eax, dword [eax + 0x70]
je 0x46eda4
cmp eax, edi
jg 0x46ebfa
push 0
push 0
push ebx
push 0x32
push esi
call fcn.00486380
mov edx, dword [esp + 0x24]
add esp, 0x14
mov edi, eax
jmp 0x46ec2d
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 0x46ec49
push 0
push 0
push edx
push 0x10
push esi
call fcn.00486380
add esp, 0x14
mov ebx, eax
jmp 0x46ec78
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 0x46eca1
push 1
push dword [esp + 0x80]
push 0
push dword [esp + 0x8c]
push 0x18
push esi
call fcn.0046c970
add esp, 0x18
mov ebp, eax
jmp 0x46ecdd
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 0x46ecef
mov eax, 0x718388
jmp 0x46ecf8
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 0x46ed1e
mov edx, dword [esp + 0x24]
push 0
push edx
push dword [esp + 0x88]
push 0x27
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46ed54
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 0x46ed66
mov eax, 0x718388
jmp 0x46ed6f
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 0x46ed8b
mov ebp, dword [esp + 0x6c]
mov eax, 0x718388
mov dword [eax + 8], edx
jmp 0x46edf9
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 0x46edf9
cmp eax, edi
jg 0x46edc3
mov edx, dword [esp + 0x24]
push 0
push edx
push dword [esp + 0x88]
push 0x27
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46edf9
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 eax, dword [esp + 0x14]
cmp dword [eax + 0x24], 0
je 0x46ee2f
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x46ee1a
mov eax, 0x718388
xor ebx, ebx
mov dword [eax + 8], edx
jmp 0x46ee33
mov eax, dword [esp + 0x38]
xor ebx, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x46ee33
mov ebx, dword [esp + 0x38]
mov edi, dword [ebp + 8]
push 0
push 0x20
push dword [ebp]
call fcn.004aebd0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x46eead
push 0xfffffffffffffff1
push ecx
push dword [esp + 0x5c]
mov dword [ecx], 0
push dword [esp + 0x40]
mov dword [ecx + 4], 0x685c58
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.004d7850
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x46ee9c
lea ecx, [eax + eax*4]
xor edx, edx
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 0x80]
mov ecx, ebp
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov edi, dword [esp + 0x10]
push 0
push 0x68a3bc
push edi
push 3
push dword [esp + 0x50]
push 0x61
push esi
call fcn.004d7850
mov ecx, dword [esi + 0x6c]
add esp, 0x1c
cmp dword [esi + 0x70], ecx
jg 0x46eef3
push 0
push dword [esp + 0x2c]
push dword [esp + 0x80]
push 0x7f
push esi
call fcn.00486380
mov edx, dword [esp + 0x8c]
add esp, 0x14
jmp 0x46ef2a
mov ebp, dword [esp + 0x28]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x78]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [eax + ecx*4], 0x7f
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 0x46ef48
push dword [esp + 0x28]
push edi
push edx
push 0x80
push esi
call fcn.00486380
add esp, 0x14
jmp 0x46ef77
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 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x46ef8e
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
test ebx, ebx
je 0x46efb0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x46efa4
mov eax, 0x718388
jmp 0x46efad
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x14], edx
test edx, edx
jne 0x46e451
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x46f05b
cmp byte [esp + 0x3c], al
je 0x46f05b
mov ebp, dword [esp + 0x54]
push ebp
push dword [esp + 0x68]
push 0x62
push esi
call fcn.004d7790
push ebp
push 0x11
push esi
call fcn.004d7730
push dword [esp + 0x74]
mov edi, eax
push 0
push 0x4b
push esi
call fcn.004d7790
push 0
push 0x68a3bc
push ebx
push 3
push dword [esp + 0x7c]
push 0x61
push esi
call fcn.004d7850
mov ebp, dword [esp + 0xc0]
add esp, 0x48
push dword [esp + 0x28]
push ebp
push 0x7f
push esi
call fcn.004d7790
push dword [esp + 0x38]
push ebx
push ebp
push 0x80
push esi
call fcn.004d77f0
push 8
push esi
call fcn.004d7c70
push edi
push esi
call fcn.004e1730
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret