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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov eax, ecx
xor ebx, ebx
mov dword [esp + 8], eax
push esi
mov esi, edx
mov dword [esp + 0x60], ebx
mov eax, dword [eax]
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x50], eax
lea ecx, [edx + 0x50]
mov dword [esp + 0x24], esi
mov dword [esp + 0x88], ecx
mov eax, dword [edi + 0x50]
mov dword [esp + 0x1c], eax
movzx eax, byte [edi + 0x3c]
imul ecx, eax, 0x48
mov eax, dword [edx + 4]
add eax, 8
add eax, ecx
lea ecx, [edx + 0x1f0]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [eax + 0x2c]
mov edx, eax
mov dword [esp + 0x44], eax
call fcn.004b0df2
mov ecx, dword [ebp + 8]
not eax
and eax, dword [ebp + 0x14]
not edx
and edx, dword [ebp + 0x18]
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], edx
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
mov ecx, dword [ebp + 0xc]
call fcn.0066c190
xor ecx, ecx
inc ecx
and eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov dword [esp + 0x80], eax
mov dword [edi + 0x18], eax
cmp byte [edi + 0x3c], bl
jbe 0x4acd6f
mov eax, dword [esp + 0x74]
test byte [eax + 0x24], 8
je 0x4acd6f
mov eax, dword [ecx + 0x2c]
inc eax
push ebx
push eax
push ebx
mov dword [ecx + 0x2c], eax
mov ecx, esi
push 0x47
pop edx
mov dword [edi], eax
call fcn.0046e343
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, eax
test eax, eax
jle 0x4acd97
mov edx, dword [ebp + 8]
imul eax, eax, 0x60
add edx, 0x330
add eax, edx
cmp dword [eax - 0x38], ebx
jne 0x4acd97
cmp dword [eax], ebx
jne 0x4acd97
dec ecx
sub eax, 0x60
test ecx, ecx
jg 0x4acd86
imul eax, ecx, 0x60
mov ecx, dword [ebp + 8]
push 0xb
mov eax, dword [eax + ecx + 0x304]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
pop ecx
test byte [eax + 0x28], 0x20
je 0x4acdec
push dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov edx, ecx
mov ecx, dword [esp + 0x28]
push ebx
push esi
call fcn.0046e343
mov ecx, dword [esp + 0x30]
add esp, 0xc
push ebx
push dword [esp + 0x2c]
push esi
push 0xc
pop edx
call fcn.0046e343
add esp, 0xc
mov dword [edi + 0x44], eax
mov byte [edi + 0x3d], 9
jmp 0x4ae3d4
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x2c]
bt edx, 0xa
jae 0x4ad174
movzx eax, word [eax + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea edx, [eax + 2]
call fcn.004852e9
mov esi, ebx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0xc], ebx
cmp dword [esp + 0x18], ebx
jbe 0x4acf29
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x4acf12
xor eax, eax
inc eax
test byte [ecx + 0xc], al
je 0x4acec9
mov edx, eax
mov ecx, esi
shl edx, cl
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp esi, 0x1f
cmovbe eax, edx
test dword [ecx + 0x28], eax
mov ecx, dword [esp + 0x10]
je 0x4acea4
mov edi, dword [ecx + 0x28]
inc dword [ecx + 0x2c]
mov esi, dword [ecx + 0x2c]
push edi
lea eax, [edi + 1]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
call fcn.004814d7
mov eax, dword [esp + 0x38]
mov edx, 0xaf
pop ecx
mov ecx, dword [esp + 0x24]
add eax, 2
push esi
mov esi, dword [esp + 0x10]
add eax, esi
push eax
push edi
call fcn.0046e343
mov edi, dword [ebp + 0x10]
jmp 0x4acf0f
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
add eax, 2
add eax, esi
push eax
push dword [esp + 0x4c]
push esi
push edi
call fcn.004ac270
mov eax, dword [edi + 0x10]
add esp, 0x10
mov dword [esp + 0x30], eax
jmp 0x4acf12
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x38]
mov edx, dword [edx + 0x10]
add eax, 2
add eax, esi
push eax
call fcn.004aca90
mov eax, dword [esp + 0x30]
pop ecx
pop ecx
cmp byte [eax + 0xf], 0x4a
mov eax, dword [esp + 0x1c]
jne 0x4acf16
test byte [eax + 0x1c], 2
je 0x4acf16
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
push ebx
mov eax, dword [eax + 0x10]
push dword [eax + 0xc]
push ebx
push 0x47
pop edx
call fcn.0046e343
add esp, 0xc
mov eax, dword [esp + 0x1c]
inc esi
mov dword [esp + 0xc], esi
cmp esi, dword [esp + 0x18]
jl 0x4ace30
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
mov ecx, esi
push ebx
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x18]
push 0x47
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x40]
add esp, 0xc
inc eax
mov ecx, esi
push ebx
push eax
push dword [esp + 0x20]
push 0x47
pop edx
call fcn.0046e343
mov ecx, dword [esp + 0x28]
add esp, 0xc
xor eax, eax
inc eax
test byte [ecx + 0x1c], al
push 0xffffffffffffffff
pop eax
push 0xfffffffffffffffa
pop edx
cmovne eax, edx
push eax
push dword [ecx + 0x24]
mov ecx, esi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x54]
push 6
pop edx
call fcn.0046e4c2
mov ecx, dword [esp + 0x30]
add esp, 0x14
mov eax, dword [esp + 0x50]
and dword [ecx + 0x1c], 0xfffffffe
cmp byte [eax + 0x57], bl
je 0x4acf9f
mov dword [ecx + 0x24], ebx
mov eax, dword [esp + 0x44]
mov edx, dword [ebp + 8]
mov dword [edi + 0x40], eax
push 0x3f
pop eax
cmp byte [edx + 0x2e], bl
lea edx, [eax + 0x7c]
cmovne eax, edx
mov byte [edi + 0x3d], al
mov eax, dword [esi + 0x6c]
mov esi, ebx
mov dword [edi + 0x44], eax
cmp dword [esp + 0x18], ebx
jbe 0x4ae3d4
mov eax, dword [ecx + 0x38]
mov edx, dword [eax + esi*4]
mov dword [esp + 0x40], edx
cmp esi, 0x10
jae 0x4acffa
mov ax, word [ecx + 0x22]
mov cx, si
shr ax, cl
xor ecx, ecx
inc ecx
test cl, al
je 0x4acff6
mov ecx, edi
call fcn.004abf2d
jmp 0x4ad160
mov ecx, dword [esp + 0x1c]
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x4ad164
mov edx, eax
mov ecx, esi
shl edx, cl
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp esi, 0x1f
cmovbe eax, edx
test dword [ecx + 0x28], eax
jne 0x4ad164
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x57], bl
jne 0x4ad164
mov dword [esp + 0xc], ebx
cmp dword [edi + 0x48], ebx
jle 0x4ad0ce
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 0x4c]
add ecx, 2
add eax, 4
add ecx, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov edx, dword [eax]
mov ecx, dword [esp + 0x24]
call fcn.0046ebfb
mov cl, byte [eax]
mov byte [esp + 0x17], cl
cmp byte [esp + 0x17], 0x5e
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x28], ecx
jne 0x4ad0a8
mov ecx, dword [esp + 0x34]
add ecx, 2
add ecx, esi
cmp dword [eax + 0xc], ecx
je 0x4ad0b4
mov ecx, dword [esp + 0x34]
add ecx, 2
add ecx, esi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
inc ecx
add eax, 0x14
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], eax
cmp ecx, dword [edi + 0x48]
jl 0x4ad052
jmp 0x4ad0ce
cmp byte [esp + 0x17], 0x87
jne 0x4ad080
cmp dword [eax + 8], ecx
jne 0x4ad08d
push dword [eax + 0xc]
movzx edx, byte [esp + 0x1b]
push dword [eax + 8]
mov ecx, dword [esp + 0x2c]
push dword [eax + 4]
call fcn.0046e343
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push 0x35
pop edx
call fcn.0047f799
mov edx, eax
mov eax, dword [esp + 0x58]
pop ecx
pop ecx
mov dword [esp + 0xc], edx
cmp byte [eax + 0x57], bl
jne 0x4ad155
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x40]
mov ecx, dword [ecx]
mov eax, dword [ecx + 0xc]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jle 0x4ad10b
mov eax, dword [eax + 0x14]
imul ecx, ecx, 0x14
mov eax, dword [eax + ecx - 0xc]
mov ecx, dword [esp + 0x50]
mov dword [edx + 0xc], eax
mov edx, 0xb0
push ebx
call fcn.0047f6f3
mov edx, dword [esp + 0x10]
mov edi, dword [ebp + 0x10]
pop ecx
mov dword [edx + 0x10], eax
test eax, eax
je 0x4ad14e
mov ecx, dword [esp + 0x34]
add ecx, 2
add ecx, esi
push 0x10
mov dword [eax + 0x1c], ecx
push dword [edi + 0x18]
push edx
push dword [esp + 0x1c]
call fcn.00483fcc
mov edx, dword [esp + 0x1c]
add esp, 0x10
mov eax, dword [esp + 0x50]
mov dword [edx + 0xc], ebx
test edx, edx
je 0x4ad160
mov ecx, eax
call fcn.0047fc48
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [esp + 0x18]
jl 0x4acfca
jmp 0x4ae3d4
test dl, 5
setne cl
bt edx, 8
setb al
test al, cl
je 0x4ad22d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
inc dword [eax + 0x2c]
mov esi, dword [eax + 0x2c]
push esi
push ecx
push ebx
push edi
mov ecx, eax
call fcn.004ac270
add esp, 0x10
mov dword [esp + 0x28], eax
cmp eax, esi
je 0x4ad1c5
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.004852d0
mov eax, dword [esp + 0x28]
mov esi, dword [edi + 0x10]
cmp dword [edi + 0x34], ebx
je 0x4ad210
mov ecx, dword [esp + 0x24]
push ebx
push esi
push eax
push 0xd
pop edx
call fcn.0046e343
mov ecx, dword [esp + 0x30]
add esp, 0xc
xor eax, eax
inc eax
push eax
push dword [esp + 0x2c]
push esi
push dword [edi + 0x34]
push 0x40
pop edx
call fcn.0046e39c
push dword [ebp + 0x18]
mov edx, dword [ebp + 8]
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x28]
push esi
push dword [ebp + 0xc]
call fcn.004acb72
add esp, 0x20
push dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
push esi
push dword [esp + 0x4c]
push 0x1e
pop edx
call fcn.0046e343
add esp, 0xc
jmp 0x4ae399
mov ecx, 0x102
mov eax, edx
and eax, ecx
cmp eax, ecx
jne 0x4ad455
mov dword [esp + 0x2c], 0xbb
mov esi, ebx
mov dword [esp + 0x40], ebx
mov ecx, ebx
test dl, 0x20
je 0x4ad265
mov eax, dword [esp + 0x1c]
push 4
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
pop eax
mov dword [esp + 0xc], eax
jmp 0x4ad269
mov dword [esp + 0xc], ebx
test dl, 0x10
je 0x4ad27c
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov eax, dword [eax + 0x38]
mov esi, dword [esi + eax]
mov edx, dword [esp + 0x48]
mov eax, ecx
test edx, edx
cmove eax, esi
cmove esi, ecx
mov dword [esp + 0x30], eax
test esi, esi
je 0x4ad342
mov edx, dword [esi]
mov dword [esp + 0x18], 0x17151618
mov dword [esp + 0xc], edx
mov ecx, dword [edx + 0x10]
call fcn.0047f0da
cmp eax, 1
jle 0x4ad2e3
mov ecx, dword [esp + 0x10]
call fcn.004852b1
mov edx, dword [edx + 0x10]
mov esi, eax
xor eax, eax
inc eax
push eax
push esi
call fcn.004aca90
mov eax, dword [esp + 0x14]
xor edx, edx
inc edx
pop ecx
pop ecx
movzx eax, byte [eax]
mov ecx, esi
inc eax
and eax, 2
or eax, edx
mov al, byte [esp + eax + 0x18]
jmp 0x4ad314
lea eax, [esp + 0x4c]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push eax
call fcn.004838f5
pop ecx
mov edx, esi
mov dword [esp + 0x60], eax
mov ecx, edi
call fcn.004abf2d
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x4c]
movzx ecx, byte [eax]
mov al, byte [esp + ecx - 0x1e]
mov ecx, dword [esp + 0x60]
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x4c]
movzx edx, al
call fcn.0046e343
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, esi
call fcn.004852d0
mov esi, dword [esp + 0x48]
xor edx, edx
inc edx
xor esi, edx
jmp 0x4ad36c
mov ecx, dword [esp + 0x24]
xor eax, eax
mov esi, edx
inc eax
push ebx
push dword [esp + 0x50]
xor esi, eax
push dword [esp + 0x4c]
lea edx, [esi*4 + 0x20]
call fcn.0046e343
mov ecx, dword [esp + 0x1c]
xor edx, edx
add esp, 0xc
inc edx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4ad3e2
mov eax, dword [eax]
inc dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x2c]
push edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x44], ecx
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.004aca90
mov edx, dword [esp + 0x14]
pop ecx
pop ecx
mov ecx, dword [edx + 0x10]
call fcn.0047f0da
cmp eax, 1
jg 0x4ad3bc
mov al, byte [edx]
cmp al, 0x38
je 0x4ad3af
cmp al, 0x36
jne 0x4ad3bc
lea edx, [esi*2 + 0x37]
mov dword [esp + 0x2c], edx
jmp 0x4ad3cb
mov eax, dword [esp + 0x48]
lea eax, [eax*2 + 0x36]
mov dword [esp + 0x2c], eax
call fcn.0047f0da
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x4ad3e2
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.004abf2d
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x48], ebx
mov edx, dword [esp + 0x44]
mov ecx, dword [eax + 0x6c]
sete al
add al, 0x26
mov dword [edi + 0x40], edx
cmp dword [esp + 0x2c], 0xbb
mov byte [edi + 0x3d], al
mov dword [edi + 0x44], ecx
je 0x4ae3d4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push ebx
inc dword [eax + 0x2c]
mov esi, dword [eax + 0x2c]
push esi
push edx
mov edx, 0x87
call fcn.0046e343
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x48]
call fcn.0046e343
mov ecx, dword [esp + 0x30]
add esp, 0xc
push 0x53
pop edx
call fcn.0046e90c
jmp 0x4ae3d4
test edx, 0x200
je 0x4add77
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], ebx
movzx eax, word [ecx + 0x18]
movzx ecx, word [ecx + 0x1a]
mov dword [esp + 0x60], eax
mov eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x17], bl
mov byte [esp + 0x73], bl
movzx eax, word [eax + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
movzx eax, ax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
test dl, 0x20
je 0x4ad4e7
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
inc dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov eax, dword [eax + 0x38]
mov eax, dword [eax + esi*4]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x68], eax
test dl, 0x10
je 0x4ad5d2
mov eax, dword [esp + 0x1c]
mov edi, 0x100
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0x38]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
movzx eax, word [ecx + 0x1c]
mov ecx, edx
cmp dword [esp + 0x20], eax
mov edx, dword [esp + 0x34]
cmova eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
test word [edx + 0xa], di
mov edi, dword [ebp + 0x10]
je 0x4ad583
mov ecx, dword [esp + 0x10]
push ebx
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, esi
push eax
mov dword [edi + 0x2c], eax
xor eax, eax
inc eax
push eax
push 0x47
pop edx
call fcn.0046e343
mov ecx, dword [esp + 0x70]
add esp, 0xc
mov eax, dword [esi + 0x6c]
shl dword [edi + 0x2c], 1
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
cmp byte [edx + eax], 1
mov eax, dword [esp + 0x1c]
sete cl
xor ecx, dword [esp + 0x48]
or dword [edi + 0x2c], ecx
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov edx, ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x68], ebx
jne 0x4ad5d2
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
movsx ecx, word [eax + ecx*2]
mov dword [esp + 0xc], ecx
test ecx, ecx
js 0x4ad5bd
mov eax, dword [edx + 0xc]
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
je 0x4ad6e9
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
cmp ecx, 0xfffffffe
je 0x4ad6ed
xor ecx, ecx
inc ecx
and edx, 0x80030
cmp edx, 0x80000
jne 0x4ad61d
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov byte [esp + 0x17], cl
inc dword [eax + 0x2c]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x5c], ecx
mov dword [edi + 0x24], ecx
cmp dword [edi], ebx
je 0x4ad614
push ebx
push ecx
push ebx
push 0x47
pop edx
mov ecx, esi
call fcn.0046e343
mov eax, dword [esp + 0x1c]
add esp, 0xc
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [edi + 0x28], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
cmp ax, word [ecx + 0x34]
jae 0x4ad672
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
mov edx, dword [esp + 0x3c]
cmp byte [edx + eax], cl
sete cl
cmp dword [esp + 0x48], ecx
jne 0x4ad672
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov cl, byte [esp + 0x17]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x73], cl
movzx ecx, dx
movzx eax, al
mov byte [esp + 0x17], bl
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x18], eax
cmp dword [ebp + 0xc], ebx
jle 0x4ad699
mov eax, dword [esp + 0x1c]
test dword [eax + 0x2c], 0x100000
je 0x4ad699
push ebx
push ebx
push dword [esp + 0x60]
mov edx, 0x88
mov ecx, esi
call fcn.0046e343
add esp, 0xc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x24]
mov edx, edi
push dword [esp + 0x50]
call fcn.004ac69f
mov edx, dword [esp + 0x58]
add esp, 0xc
mov ecx, eax
mov dword [esp + 0x54], ecx
test edx, edx
je 0x4ad6de
cmp word [esp + 0x18], bx
je 0x4ad6de
add edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
call fcn.004518cf
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x40], eax
cmp dword [esp + 0x5c], ebx
je 0x4ad701
mov eax, dword [edi + 0x28]
jmp 0x4ad704
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
xor ecx, ecx
inc ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], cl
jmp 0x4ad5d5
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4ad71c
test byte [eax + 0xc], 0x28
jne 0x4ad71c
mov dword [esp + 0x2c], ebx
jmp 0x4ad723
xor edx, edx
inc edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4ad73a
test byte [edx + 0xc], 0x28
jne 0x4ad73a
xor edx, edx
mov dword [esp + 0x30], ebx
inc edx
jmp 0x4ad741
xor edx, edx
inc edx
mov dword [esp + 0x30], edx
test eax, eax
jne 0x4ad767
cmp word [esp + 0x60], bx
ja 0x4ad767
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x60], ebx
cmp byte [esp + 0x17], bl
je 0x4ad834
mov dword [esp + 0x2c], ebx
jmp 0x4ad840
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], edx
test eax, eax
je 0x4ad754
mov eax, dword [eax]
mov edx, dword [esp + 0x6c]
add ecx, dword [esp + 0x3c]
movzx edx, dx
mov eax, dword [eax + 0x10]
push edx
push ecx
mov ecx, dword [esp + 0x18]
mov edx, eax
mov dword [esp + 0x14], eax
call fcn.004aca90
push dword [esp + 0x70]
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, esi
call fcn.004ac99a
mov eax, dword [esp + 0x74]
add esp, 0xc
test byte [eax + 0xa], 0x80
jne 0x4ad7de
mov ecx, dword [esp + 0xc]
call fcn.00480cfe
test eax, eax
je 0x4ad7de
mov eax, dword [esp + 0x54]
mov ecx, esi
add eax, dword [esp + 0x3c]
push ebx
push dword [esp + 0x24]
push eax
push 0x32
pop edx
call fcn.0046e343
add esp, 0xc
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4ad7fe
mov eax, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x70]
movzx edx, ax
call fcn.004abfd9
pop ecx
mov ecx, dword [esp + 0x6c]
movzx eax, cx
add dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
call fcn.0047f0da
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x4ad826
mov edx, dword [esp + 0x68]
mov ecx, edi
call fcn.004abf2d
jmp 0x4ad82a
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x38]
mov byte [esp + 0x17], bl
jmp 0x4ad863
mov eax, edx
mov dword [esp + 0x38], eax
cmp dword [esp + 0x5c], ebx
je 0x4ad863
push ebx
lea eax, [ecx + edx]
mov ecx, esi
push eax
push ebx
push 0x4b
pop edx
call fcn.0046e343
xor eax, eax
add esp, 0xc
inc eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x38], eax
movzx ecx, byte [esp + 0x17]
push dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
sub eax, ecx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.004abf91
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
movzx eax, word [eax + 0x32]
test ax, ax
je 0x4ad899
cmp dword [esp + 0x38], eax
je 0x4ad9e9
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4ad8b4
push ebx
push eax
xor eax, eax
mov ecx, esi
inc eax
push eax
push 0x47
pop edx
call fcn.0046e343
add esp, 0xc
cmp dword [edi + 0x34], ebx
je 0x4ad8ee
push dword [esp + 0x3c]
mov ecx, esi
push dword [esp + 0x58]
push dword [esp + 0x28]
push dword [edi + 0x34]
push 0x40
pop edx
call fcn.0046e39c
push dword [ebp + 0x18]
mov edx, dword [ebp + 8]
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x38]
push dword [ebp + 0xc]
call fcn.004acb72
add esp, 0x20
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x48]
movzx eax, byte [ecx + eax*2 + 0x6c1b10]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
test dword [ecx + 0x2c], 0x100000
je 0x4ad978
cmp eax, 0x17
jne 0x4ad978
mov ecx, dword [esp + 0x64]
push 0xa
mov eax, dword [ecx + 8]
pop ecx
push ebx
push ebx
movsx eax, word [eax]
add eax, 9
cdq
idiv ecx
mov ecx, esi
push eax
push 0x7c
pop edx
call fcn.0046e343
add esp, 0xc
mov dword [esp + 0x28], eax
cmp dword [esp + 0x68], ebx
jne 0x4ad94e
cmp dword [esp + 0x34], ebx
je 0x4ad974
xor eax, eax
mov ecx, esi
lea edx, [eax + 1]
call fcn.0046e90c
mov esi, dword [esi + 0x6c]
mov edx, dword [esp + 0x28]
inc esi
mov ecx, dword [esp + 0x24]
call fcn.0046ebfb
mov dword [esp + 0x28], ebx
mov dword [eax + 8], esi
mov esi, ecx
mov eax, dword [esp + 0xc]
push dword [esp + 0x38]
mov edx, eax
mov ecx, esi
push dword [esp + 0x58]
push dword [esp + 0x28]
push dword [esp + 0x64]
call fcn.0046e39c
mov eax, dword [esp + 0x6c]
add esp, 0x10
test eax, eax
je 0x4ad9ed
mov eax, dword [esi + 0x6c]
mov ecx, esi
push ebx
add eax, 2
push eax
push ebx
push 9
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x44]
add esp, 0xc
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
push eax
push dword [esp + 0x58]
xor eax, eax
push dword [esp + 0x28]
inc eax
cmp eax, dword [esp + 0x44]
push dword [esp + 0x64]
sbb eax, eax
and eax, 4
movzx edx, byte [eax + ecx + 0x6c1b12]
mov ecx, esi
call fcn.0046e39c
add esp, 0x10
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
mov edx, ecx
mov dword [esp + 0x38], edx
cmp dword [esp + 0x34], ebx
je 0x4adada
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
movzx ecx, dx
mov edx, dword [esp + 0x54]
mov eax, dword [eax]
add edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
push edx
mov edx, eax
mov dword [esp + 0x14], eax
call fcn.004aca90
push dword [esp + 0x3c]
mov edi, dword [ebp + 0x10]
mov ecx, esi
mov edx, edi
call fcn.004ac99a
mov eax, dword [esp + 0x40]
add esp, 0xc
test byte [eax + 0xa], 0x80
jne 0x4ada6f
mov ecx, dword [esp + 0xc]
call fcn.00480cfe
test eax, eax
je 0x4ada6f
mov eax, dword [esp + 0x54]
mov ecx, esi
add eax, dword [esp + 0x3c]
push ebx
push dword [esp + 0x24]
push eax
push 0x32
pop edx
call fcn.0046e343
add esp, 0xc
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4adaac
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x1c]
movzx edx, ax
call fcn.004abfd9
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
pop ecx
mov ecx, dword [esp + 0x54]
push eax
movzx eax, dx
mov edx, dword [esp + 0x40]
push eax
lea edx, [ecx + edx]
mov ecx, dword [esp + 0x18]
call fcn.004abf91
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
movzx eax, cx
add dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
call fcn.0047f0da
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x4adad4
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.004abf2d
jmp 0x4adb07
mov dword [esp + 0x30], ecx
jmp 0x4adb07
cmp byte [esp + 0x73], bl
je 0x4adb07
test eax, eax
jne 0x4adb02
mov eax, dword [esp + 0x54]
push ebx
add eax, ecx
mov ecx, esi
push eax
push ebx
push 0x4b
pop edx
call fcn.0046e343
mov edx, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x30], ebx
inc edx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4adb1a
mov ecx, dword [esp + 0x50]
mov edx, eax
call fcn.00451464
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4adb2d
mov ecx, dword [esp + 0x50]
mov edx, eax
call fcn.00451464
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x44], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4adb9b
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x4adb5d
mov eax, dword [esi + 0x6c]
push ebx
add eax, 3
push eax
push ecx
push 0x11
pop edx
mov ecx, esi
call fcn.0046e343
mov eax, dword [esp + 0x44]
add esp, 0xc
mov ecx, dword [esp + 0x48]
push eax
push dword [esp + 0x58]
mov eax, dword [esp + 0x38]
push dword [esp + 0x28]
push dword [esp + 0x64]
movzx edx, byte [eax + ecx*2 + 0x6c2f04]
mov ecx, esi
call fcn.0046e39c
mov eax, dword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x4adb9b
mov edx, eax
mov ecx, esi
call fcn.0046ebfb
mov ecx, dword [esi + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x4adbe6
mov eax, dword [esi + 0x6c]
push ebx
add eax, 2
push eax
push ecx
push 0x10
pop edx
mov ecx, esi
call fcn.0046e343
mov ecx, dword [esp + 0x78]
add esp, 0xc
mov eax, dword [esp + 0x38]
add eax, ecx
push eax
push dword [esp + 0x58]
mov eax, dword [esp + 0x50]
push dword [esp + 0x28]
push dword [esp + 0x64]
movzx edx, byte [ecx + eax*2 + 0x6c2f04]
mov ecx, esi
call fcn.0046e39c
add esp, 0x10
mov eax, dword [esp + 0x1c]
test dword [eax + 0x2c], 0x40000
je 0x4adc0e
mov eax, dword [esp + 0x3c]
mov ecx, esi
push eax
push eax
push dword [esp + 0x60]
push 0x7d
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x28]
add esp, 0xc
test byte [eax + 0x2c], 0x40
mov eax, dword [ebp + 8]
je 0x4adc2e
mov ecx, 0x1020
test word [eax + 0x28], cx
jne 0x4adc2e
xor eax, eax
inc eax
mov dword [esp + 0x2c], eax
jmp 0x4add07
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x1c], 0x80
jne 0x4adc5e
mov esi, dword [esp + 0x58]
mov ecx, eax
push esi
push dword [esp + 0x48]
call fcn.004ac9cf
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x6c]
pop ecx
pop ecx
mov dword [esp + 0x2c], ebx
jmp 0x4add13
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], ebx
cmp eax, dword [esp + 0x58]
je 0x4add0f
call fcn.0048ac9d
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
movzx edx, word [eax + 0x32]
call fcn.004852e9
and dword [esp + 0x30], ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], ebx
movzx ecx, word [eax + 0x32]
mov edx, ecx
cmp word [esp + 0x30], cx
jae 0x4adce7
mov dword [esp + 0x2c], ebx
mov edi, ebx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x64]
mov dx, word [edx + edi*2]
call fcn.0048acb5
movsx ecx, ax
mov eax, dword [esp + 0x28]
add eax, edi
push eax
push ecx
push dword [esp + 0x60]
mov ecx, esi
push 0x5e
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x18]
add esp, 0xc
inc edi
movzx ecx, word [eax + 0x32]
cmp edi, ecx
jl 0x4adca9
mov edi, dword [ebp + 0x10]
mov edx, ecx
movzx eax, dx
mov ecx, esi
push eax
push dword [esp + 0x2c]
push dword [esp + 0x88]
push dword [esp + 0x50]
push 0x1c
pop edx
call fcn.0046e39c
add esp, 0x10
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
cmp dword [edi], ebx
jne 0x4add2d
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x4add2d
push dword [esp + 0x88]
mov edx, eax
call fcn.004acb0b
pop ecx
mov ecx, dword [esp + 0x1c]
mov eax, 0x1000
test dword [ecx + 0x2c], eax
je 0x4add41
mov byte [edi + 0x3d], 0xbb
jmp 0x4add4d
cmp dword [esp + 0x48], ebx
sete al
add al, 0x26
mov byte [edi + 0x3d], al
xor edx, edx
mov dword [edi + 0x40], esi
mov al, byte [ecx + 0x2e]
inc edx
and al, dl
mov byte [edi + 0x3e], al
test byte [ecx + 0x2c], 0xf
jne 0x4add64
mov byte [edi + 0x3f], dl
cmp dword [esp + 0x2c], ebx
je 0x4ae3d4
mov dword [esp + 0x64], ebx
jmp 0x4ae3d4
test edx, 0x2000
je 0x4ae38f
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [edx + 0x28]
mov dword [esp + 0x54], eax
inc eax
mov dword [edx + 0x28], eax
mov eax, dword [edx + 0x2c]
inc eax
mov dword [esp + 0x34], ebx
dec dword [edx + 0x38]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
mov eax, dword [eax + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x40], eax
mov eax, dword [ebp + 8]
mov byte [edi + 0x3d], 0x43
mov al, byte [eax + 0x2c]
cmp al, 1
jbe 0x4aded2
movzx eax, al
sub eax, dword [ebp + 0xc]
dec eax
imul ecx, eax, 0x48
push ebx
mov dword [esp + 0x10], eax
add ecx, 0x50
push ecx
mov ecx, dword [esp + 0x58]
call fcn.004516f6
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x38], ecx
test ecx, ecx
jne 0x4ade26
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
jmp 0x4ae88f
mov al, byte [esp + 0xc]
inc al
movzx eax, al
push 0x48
push dword [esp + 0x78]
mov dword [ecx + 4], eax
mov dword [ecx], eax
lea eax, [ecx + 8]
push eax
call fcn.00638b30
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
add esp, 0xc
mov ecx, dword [ecx + 4]
add ecx, 8
mov dword [esp + 0x40], ecx
cmp dword [esp + 0xc], eax
jl 0x4ade9f
mov eax, dword [esp + 0x38]
lea esi, [edi + 0x9c]
mov ebx, dword [esp + 0xc]
add eax, 0x50
mov dword [esp + 0x30], eax
mov edi, eax
movzx eax, byte [esi]
imul eax, eax, 0x48
push 0x48
add eax, ecx
push eax
push edi
call fcn.00638b30
mov ecx, dword [esp + 0x4c]
lea esi, [esi + 0x60]
add esp, 0xc
add edi, 0x48
sub ebx, 1
jne 0x4ade73
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
test byte [eax + 0x28], 0x10
jne 0x4adf25
test byte [ecx + 0x1c], 0x80
jne 0x4adede
inc dword [edx + 0x2c]
mov ecx, esi
mov eax, dword [edx + 0x2c]
push ebx
push eax
push ebx
push 0x4b
pop edx
mov dword [esp + 0x38], eax
call fcn.0046e343
add esp, 0xc
jmp 0x4adf17
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
jmp 0x4adea7
call fcn.0048ac9d
mov esi, eax
mov eax, dword [edx + 0x28]
push ebx
mov dword [esp + 0x30], eax
lea ecx, [eax + 1]
mov dword [edx + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push 0x76
pop edx
call fcn.0046e343
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, esi
call fcn.0046ebe0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x28], eax
push ebx
push dword [esp + 0x6c]
mov ecx, esi
push ebx
push 0x47
pop edx
call fcn.0046e343
mov dword [esp + 0x84], eax
xor ecx, ecx
mov eax, dword [ebp + 8]
inc ecx
add esp, 0xc
cmp dword [eax + 0x5c], ecx
jle 0x4adff9
mov esi, dword [esp + 0x10]
mov edx, ebx
mov dword [esp + 0xc], edx
mov ecx, ebx
mov dword [esp + 0x30], ebx
jmp 0x4adf62
mov eax, edi
mov eax, dword [eax + 0x68]
add eax, ecx
mov edi, dword [eax]
mov dword [esp + 0x40], edi
cmp eax, dword [esp + 0x3c]
je 0x4adfc0
mov edi, 0x8006
test word [eax + 0xa], di
jne 0x4adfc0
mov edi, 0x3fff
test word [eax + 0xc], di
je 0x4adfc0
mov eax, dword [esp + 0x40]
test dword [eax + 4], 0x400000
jne 0x4adfc0
mov ecx, dword [esp + 0x50]
mov edx, eax
push ebx
push ebx
call fcn.0047fdbc
mov edx, dword [esp + 0x28]
mov ecx, esi
push eax
call fcn.0047f90d
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
jmp 0x4adfc4
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 8]
inc edx
add ecx, 0x30
mov dword [esp + 0xc], edx
mov dword [esp + 0x30], ecx
cmp edx, dword [edi + 0x5c]
jl 0x4adf60
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x24]
test eax, eax
je 0x4adff9
mov ecx, dword [esp + 0x10]
mov edx, 0x1002c
push eax
push ebx
call fcn.0047f799
pop ecx
pop ecx
mov dword [esp + 0x20], eax
xor eax, eax
push str.MULTI_INDEX_OR
inc eax
push eax
push dword [esp + 0x18]
call fcn.0046e5db
mov edx, dword [esp + 0x58]
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x18], ebx
cmp dword [edx + 0xc], ebx
jle 0x4ae306
imul eax, ecx, 0x30
add eax, dword [edx + 0x18]
mov edx, dword [esp + 0x44]
cmp dword [eax + 0x14], edx
je 0x4ae03f
mov edx, 0x400
test word [eax + 0xc], dx
je 0x4ae2ef
mov edx, dword [eax]
mov edi, ebx
mov dword [esp + 0x58], edi
test edx, edx
je 0x4ae062
mov ecx, dword [esp + 0x50]
push ebx
push ebx
call fcn.0047fdbc
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
jmp 0x4ae068
mov eax, ebx
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x84], eax
cmp byte [edx + 0x57], 0
je 0x4ae086
test eax, eax
je 0x4ae2ef
jmp 0x4ae2e0
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4ae095
mov dword [edx + 0xc], eax
mov dword [esp + 0xc], edx
lea eax, [ecx + 1]
push eax
xor eax, eax
push str.INDEX__d
inc eax
push eax
push dword [esp + 0x1c]
call fcn.0046e5db
push dword [esp + 0x64]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
push 0x20
push ebx
push ebx
push ebx
push dword [esp + 0x30]
call fcn.004b626e
add esp, 0x28
mov dword [esp + 0xc], eax
test eax, eax
je 0x4ae2d5
mov edx, dword [esp + 0x38]
lea ecx, [eax + 0x2f8]
push ebx
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004abb0f
mov eax, dword [ebp + 8]
pop ecx
pop ecx
test byte [eax + 0x28], 0x10
jne 0x4ae232
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
pop eax
cmove ecx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], ecx
test byte [eax + 0x1c], 0x80
jne 0x4ae151
mov edi, dword [esp + 0x28]
mov edx, 0x87
push ebx
push edi
push dword [esp + 0x4c]
mov ecx, esi
call fcn.0046e343
add esp, 0xc
mov ecx, esi
push dword [esp + 0x30]
push edi
push ebx
push dword [esp + 0x38]
push 0x2f
pop edx
call fcn.0046e39c
add esp, 0x10
mov edi, eax
jmp 0x4ae232
mov ecx, eax
call fcn.0048ac9d
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
movzx edx, word [eax + 0x32]
mov dword [esp + 0x40], edx
call fcn.004852e9
mov dword [esp + 0x6c], eax
mov edi, ebx
test edx, edx
je 0x4ae1aa
mov ebx, edx
mov edx, dword [esp + 0x5c]
lea ecx, [edi + eax]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
movsx eax, word [eax + edi*2]
push eax
push dword [esp + 0x4c]
call fcn.00482283
mov eax, dword [esp + 0x78]
add esp, 0xc
inc edi
cmp edi, ebx
jl 0x4ae179
mov edx, dword [esp + 0x40]
xor ebx, ebx
cmp dword [esp + 0x30], 0
je 0x4ae1d0
push edx
push eax
push ebx
push dword [esp + 0x38]
mov ecx, esi
push 0x1d
pop edx
call fcn.0046e39c
add esp, 0x10
mov dword [esp + 0x58], eax
cmp dword [esp + 0x30], 0
jl 0x4ae219
push dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov ecx, esi
push edi
push dword [esp + 0x74]
push 0x61
pop edx
call fcn.0046e343
add esp, 0xc
mov edx, 0x8a
mov ecx, esi
push edi
push dword [esp + 0x70]
push dword [esp + 0x30]
push dword [esp + 0x38]
call fcn.0046e39c
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x4ae21d
push 0x10
pop edx
mov ecx, esi
call fcn.0046e90c
jmp 0x4ae21d
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
push edi
call fcn.0048531f
mov edi, dword [esp + 0x5c]
add esp, 4
push ebx
push dword [esp + 0x4c]
mov ecx, esi
push dword [esp + 0x70]
push 0xa
pop edx
call fcn.0046e343
add esp, 0xc
test edi, edi
je 0x4ae25b
mov edx, edi
mov ecx, esi
call fcn.0046ebfb
mov ecx, dword [esi + 0x6c]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
push 1
pop edx
test byte [eax + 0x30], 2
cmovne ecx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x348]
test dword [ecx + 0x2c], 0x200
je 0x4ae2b3
cmp dword [esp + 0x18], 0
je 0x4ae290
mov edx, dword [esp + 0x60]
cmp dword [ecx + 0x20], edx
jne 0x4ae2b3
mov edx, dword [esp + 0x5c]
test byte [edx + 0x1c], 0x80
je 0x4ae2aa
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0xc]
je 0x4ae2b3
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x60], ecx
jmp 0x4ae2b7
mov dword [esp + 0x60], ebx
xor edx, edx
inc edx
test byte [eax + 0x30], dl
je 0x4ae2c5
mov ecx, dword [ebp + 8]
or dword [ecx + 0x30], edx
mov ecx, eax
call fcn.004b6d39
mov ecx, dword [esp + 0x10]
call fcn.0046e631
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4ae2eb
mov ecx, dword [esp + 0x50]
mov edx, eax
call fcn.0047fc48
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x18], ecx
mov edx, eax
cmp ecx, dword [eax + 0xc]
jl 0x4ae021
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
call fcn.0046e631
mov eax, dword [esp + 0x60]
mov dword [edi + 0x48], eax
test eax, eax
je 0x4ae321
mov eax, dword [esp + 0x54]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4ae337
mov ecx, dword [esp + 0x50]
mov edx, eax
mov dword [eax + 0xc], ebx
call fcn.0047fc48
mov edx, dword [esp + 0x78]
mov ecx, esi
call fcn.0046ebfb
mov ecx, dword [esi + 0x6c]
mov dword [eax + 4], ecx
mov ecx, esi
mov edx, dword [edi + 0xc]
call fcn.0046e3f7
mov edx, dword [esp + 0x48]
mov ecx, esi
call fcn.0046e744
mov eax, dword [esi + 0x6c]
xor ecx, ecx
mov dword [edi + 0x44], eax
inc ecx
mov eax, dword [ebp + 8]
cmp byte [eax + 0x2c], cl
jbe 0x4ae37b
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
call fcn.00451415
cmp dword [esp + 0x34], 0
jne 0x4ae3d4
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.004abf2d
jmp 0x4ae3d4
mov eax, dword [esp + 0x74]
test byte [eax + 0x28], 0x40
je 0x4ae39f
mov byte [edi + 0x3d], 0xbb
jmp 0x4ae3d4
mov ecx, dword [esp + 0x48]
push ebx
push dword [esp + 0x50]
mov al, byte [ecx + 0x6c1ccc]
movzx edx, byte [ecx + 0x6be464]
mov ecx, esi
mov byte [edi + 0x3d], al
mov eax, dword [esp + 0x4c]
push eax
mov dword [edi + 0x40], eax
call fcn.0046e343
add esp, 0xc
inc eax
mov dword [edi + 0x44], eax
xor eax, eax
inc eax
mov byte [edi + 0x3f], al
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [esp + 0x64], eax
sete al
inc eax
mov dword [esp + 0x30], eax
mov esi, dword [ecx + 0x68]
mov eax, ebx
mov edx, dword [ecx + 0x5c]
mov dword [esp + 0x20], eax
jmp 0x4ae543
test byte [esi + 0xa], 6
mov dword [esp + 0x28], ebx
jne 0x4ae53c
mov ecx, dword [edi + 0x58]
mov eax, dword [esi + 0x2c]
and ecx, dword [esi + 0x28]
and eax, dword [edi + 0x5c]
or ecx, eax
je 0x4ae424
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x20]
or dword [ecx + 0x30], 2
jmp 0x4ae53f
mov eax, dword [esp + 0x74]
mov ecx, dword [esi]
mov dword [esp + 0xc], ecx
mov al, byte [eax + 0x24]
test al, 0x58
je 0x4ae46d
test byte [ecx + 4], 3
je 0x4ae538
test al, 8
je 0x4ae44f
xor eax, eax
inc eax
test byte [ecx + 4], al
je 0x4ae538
mov edx, dword [ecx + 0x24]
mov ecx, dword [esp + 0x7c]
call fcn.004b0df2
and eax, dword [edi + 0x58]
and edx, dword [edi + 0x5c]
or eax, edx
jne 0x4ae52f
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
xor edx, edx
inc edx
cmp eax, edx
jne 0x4ae499
push dword [esp + 0x64]
mov edx, dword [edi + 4]
call fcn.00484afe
pop ecx
test eax, eax
jne 0x4ae49e
push 2
pop eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x18]
jmp 0x4ae53c
cmp eax, 3
jge 0x4ae4c5
mov eax, 0x1000
test word [esi + 0xa], ax
je 0x4ae4c5
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
test eax, eax
jne 0x4ae53f
push 3
pop eax
mov dword [esp + 0x20], eax
jmp 0x4ae53f
mov eax, 0x200
test word [esi + 0xa], ax
je 0x4ae4f6
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x4ae4f6
mov ecx, dword [esp + 0x24]
mov eax, edx
push ebx
shr eax, 1
push ebx
push eax
xor eax, eax
inc eax
and edx, eax
or edx, 0x10
call fcn.0046e343
add esp, 0xc
mov dword [esp + 0x28], eax
push 0x10
push dword [esp + 0x84]
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.00483fcc
mov eax, dword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x4ae528
mov ecx, dword [esp + 0x24]
mov edx, eax
call fcn.0046ebfb
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
push 4
pop eax
or word [esi + 0xa], ax
mov eax, dword [esp + 0x20]
jmp 0x4ae490
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
dec edx
add esi, 0x30
mov dword [esp + 0x18], edx
test edx, edx
jg 0x4ae3f6
mov dword [esp + 0x30], eax
test eax, eax
jg 0x4ae3e5
mov eax, dword [ecx + 0x64]
mov esi, dword [ecx + 0x68]
mov dword [esp + 0x28], esi
mov dword [esp + 0xc], eax
test eax, eax
jle 0x4ae66f
mov edi, eax
test byte [esi + 0xa], 6
jne 0x4ae658
movzx eax, word [esi + 0xc]
test al, 0x82
push 0xb
setne cl
pop edx
bt ax, dx
setb al
test al, cl
je 0x4ae658
mov ecx, dword [esp + 0x44]
cmp dword [esi + 0x14], ecx
jne 0x4ae658
mov eax, dword [esp + 0x74]
test byte [eax + 0x24], 0x58
jne 0x4ae658
mov eax, dword [esi]
mov edx, ecx
mov ecx, dword [esp + 0x88]
push ebx
push 0x83
push dword [ebp + 0x18]
mov dword [esp + 0x88], eax
push dword [ebp + 0x14]
push dword [esi + 0x18]
call fcn.004b113f
mov edx, eax
add esp, 0x14
mov dword [esp + 0x78], edx
test edx, edx
je 0x4ae658
test byte [edx + 0xa], 4
jne 0x4ae658
xor ecx, ecx
inc ecx
test byte [edx + 0xc], cl
je 0x4ae609
mov eax, dword [edx]
test dword [eax + 4], 0x1000
je 0x4ae609
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], ecx
jg 0x4ae658
mov esi, dword [edx]
lea edi, [esp + 0x8c]
mov eax, dword [esp + 0x7c]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
push 0x10
push dword [esp + 0x84]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x1c]
call fcn.00483fcc
mov eax, dword [esp + 0x88]
add esp, 0x10
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0xc]
push 4
pop ecx
or word [eax + 0xa], cx
dec edi
add esi, 0x30
mov dword [esp + 0xc], edi
mov dword [esp + 0x28], esi
test edi, edi
jg 0x4ae573
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x38]
mov dword [esp + 0xc], eax
test eax, eax
je 0x4ae7d0
movzx eax, byte [edi + 0x3c]
imul ecx, eax, 0x48
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 0x18]
mov dword [esp + 0x84], eax
test byte [eax + 0x1c], 0x80
jne 0x4ae6d2
mov ecx, dword [esp + 0x10]
push 2
pop edx
call fcn.004852e9
push ebx
mov edx, 0x87
mov dword [esp + 0x30], eax
lea ecx, [eax + 1]
push ecx
push dword [edi + 4]
mov ecx, dword [esp + 0x30]
call fcn.0046e343
mov edi, dword [esp + 0x38]
xor eax, eax
add esp, 0xc
inc eax
mov dword [esp + 0x18], eax
jmp 0x4ae72f
mov ecx, eax
call fcn.0048ac9d
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], eax
movzx esi, word [eax + 0x32]
mov dword [esp + 0x18], esi
lea edx, [esi + 1]
call fcn.004852e9
mov dword [esp + 0x7c], ebx
mov edi, eax
mov dword [esp + 0x2c], edi
test esi, esi
je 0x4ae72f
mov edx, dword [esp + 0x84]
lea eax, [edi + 1]
mov ecx, dword [esp + 0x24]
add eax, ebx
push eax
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 4]
movsx eax, word [eax + ebx*2]
push eax
push dword [esp + 0x4c]
call fcn.00482283
add esp, 0xc
inc ebx
cmp ebx, esi
jl 0x4ae6ff
xor ebx, ebx
push dword [esp + 0x18]
mov eax, dword [esp + 0x10]
lea esi, [edi + 1]
mov ecx, dword [esp + 0x28]
push esi
push ebx
push dword [eax]
push 0x1d
pop edx
call fcn.0046e39c
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edi, eax
push dword [esp + 0x2c]
push esi
push 0x61
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x28]
add esp, 0x1c
mov ecx, dword [esp + 0x24]
mov edx, 0x8a
push dword [esp + 0x18]
push esi
push dword [esp + 0x34]
push dword [eax]
call fcn.0046e39c
push dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, 0xb7
push esi
mov esi, dword [esp + 0x3c]
mov ecx, esi
push ebx
push dword [eax + 4]
call fcn.0046e39c
push 0x10
pop edx
mov ecx, esi
call fcn.0046e90c
mov edx, edi
call fcn.0046ebfb
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
inc eax
push eax
call fcn.0048531f
mov edi, dword [ebp + 0x10]
add esp, 0x24
jmp 0x4ae7d4
mov esi, dword [esp + 0x24]
cmp dword [edi], 0
je 0x4ae7fd
mov eax, dword [esi + 0x6c]
mov ecx, esi
push ebx
push dword [edi]
mov dword [edi + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x47
pop edx
call fcn.0046e343
add esp, 0xc
cmp dword [edi + 0x38], ebx
je 0x4ae82f
mov esi, dword [edi + 0x38]
jmp 0x4ae808
mov esi, dword [edi + 0x38]
test esi, esi
je 0x4ae889
mov ecx, dword [esp + 0x24]
push ebx
push dword [esi + 8]
push ebx
push 0x4a
pop edx
call fcn.0046e343
mov eax, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x6c]
mov dword [esi + 0xc], eax
inc byte [edx + 0x1a]
jmp 0x4ae833
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x68]
cmp dword [eax + 0x64], ebx
jle 0x4ae889
test byte [esi + 0xa], 6
jne 0x4ae879
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x58]
and eax, dword [edi + 0x5c]
or ecx, eax
jne 0x4ae879
mov eax, dword [esp + 0x74]
test byte [eax + 0x24], 0x40
jne 0x4ae879
push 0x10
push dword [esp + 0x84]
push dword [esi]
push edx
call fcn.00483fcc
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
mov edx, dword [ebp + 8]
inc ebx
add esi, 0x30
cmp ebx, dword [edx + 0x64]
mov edx, dword [esp + 0x10]
jl 0x4ae83e
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x5c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret