Function at 0x4671c4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
xor eax, eax
mov dword [ebp - 0x38], ecx
push ebx
mov dword [ebp - 0x80], eax
lea ebx, [ecx + 0x2f0]
mov dword [ebp - 0x5c], eax
lea eax, [ecx + 0x50]
push esi
mov dword [ebp - 0x6c], eax
push edi
mov edi, dword [ecx]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x78], edi
mov eax, dword [edi]
mov dword [ebp - 0x64], eax
mov esi, dword [edi + 8]
imul eax, edx, 0x50
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], esi
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x2c], eax
movzx eax, byte [ebx + 0x2c]
imul ecx, eax, 0x50
mov eax, dword [edx + 4]
add eax, 8
add eax, ecx
lea ecx, [edx + 0x1e8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x30]
mov edx, eax
mov dword [ebp - 0x28], eax
call fcn.00469fb0
mov ecx, dword [ebp - 0x38]
not eax
and eax, dword [ebp + 8]
not edx
and edx, dword [ebp + 0xc]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], edx
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ebp - 0x4c]
call fcn.00495750
mov ecx, dword [ebp - 0x2c]
xor edx, edx
inc edx
and eax, edx
mov dword [ebp - 0x30], eax
test byte [ecx + 0x24], 0x40
je 0x467272
mov eax, dword [ebp - 0x38]
push 0x20
pop ecx
test byte [eax + 0x2c], cl
jne 0x467272
mov dword [ebp - 4], edx
jmp 0x467276
and dword [ebp - 4], 0
mov ecx, esi
call fcn.00439f5e
mov ecx, esi
mov dword [ebp - 0x58], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
call fcn.00439f5e
cmp byte [ebx + 0x2c], 0
mov dword [ebp - 0x7c], eax
mov dword [ebx + 0x18], eax
jbe 0x4672ba
mov ecx, dword [ebp - 0x10]
test byte [ecx + 0x24], 8
je 0x4672ba
mov eax, dword [edi + 0x2c]
mov ecx, esi
inc eax
push eax
push 0
push 0x38
mov dword [edi + 0x2c], eax
pop edx
mov dword [ebx], eax
call fcn.00439d92
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
test ecx, ecx
jle 0x4672d5
mov edx, ebx
xor ecx, ecx
cmp dword [edx], ecx
jne 0x4672d7
dec eax
sub edx, 0x50
test eax, eax
jg 0x4672c7
jmp 0x4672d7
xor ecx, ecx
mov edx, dword [ebp - 0x38]
imul eax, eax, 0x50
mov eax, dword [eax + edx + 0x2fc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x70], edx
test dl, 0x10
je 0x467326
push dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
push ecx
mov ecx, dword [ebp - 0x1c]
push esi
push 0xf
pop edx
call fcn.00439d0e
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push dword [ebp - 0x58]
push esi
push 0x10
pop edx
call fcn.00439d92
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x2d], 0xd
jmp 0x46831d
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x24]
test edx, 0x400
je 0x46752c
movzx eax, word [eax + 0x28]
mov ecx, edi
mov dword [ebp - 0x20], eax
call fcn.0044a09e
lea edx, [eax + 2]
call fcn.0044c05d
mov ecx, eax
xor esi, esi
mov eax, dword [ebx + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], esi
jle 0x4673b0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x4673aa
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x467392
lea eax, [ecx + 2]
mov ecx, edi
add eax, esi
push eax
push dword [ebp - 0x30]
push esi
push ebx
call fcn.00466987
mov eax, dword [ebx + 0x10]
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x4673a7
mov edx, dword [edx]
push eax
lea eax, [ecx + 2]
mov ecx, edi
add eax, esi
mov edx, dword [edx + 0x10]
push eax
call fcn.00467075
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
inc esi
cmp esi, dword [ebp - 0x20]
jl 0x467360
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
push ecx
mov ecx, esi
push dword [eax + 0x18]
push 0x38
pop edx
call fcn.00439d92
mov eax, dword [ebp - 8]
mov ecx, esi
inc eax
push eax
push dword [ebp - 0x20]
push 0x38
pop edx
call fcn.00439d92
mov ecx, dword [ebp - 0x2c]
or eax, 0xffffffff
push 0xfffffffffffffff9
pop edx
cmp byte [ecx + 0x1c], 0
cmovne eax, edx
push eax
push dword [ecx + 0x20]
mov ecx, esi
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0x28]
push 0xb
pop edx
call fcn.00439e58
mov edx, dword [ebp - 0x2c]
add esp, 0x24
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
mov byte [edx + 0x1c], 0
mov dword [ebx + 0x30], eax
cmp byte [ecx + 0x31], 0
push 0x32
pop eax
lea ecx, [eax + 0x74]
cmovne eax, ecx
mov ecx, esi
mov byte [ebx + 0x2d], al
call fcn.0043a10e
mov ecx, dword [ebp - 0x20]
dec ecx
mov dword [ebx + 0x34], eax
mov dword [ebp - 0x18], ecx
js 0x467520
imul eax, dword [ebx + 0x38], 0xc
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x30]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0xc], edx
cmp ecx, 0x10
jge 0x46746c
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + 0x1e]
shr ax, cl
xor ecx, ecx
inc ecx
test cl, al
je 0x467469
mov ecx, ebx
call fcn.00466870
jmp 0x467510
mov ecx, dword [ebp - 0x18]
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x467513
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0x45], 0
jne 0x4674ac
mov eax, dword [ebp - 4]
mov ecx, esi
mov edx, dword [ebx + 0x3c]
sub eax, 0xc
mov dword [ebp - 4], eax
mov edx, dword [edx + eax + 4]
call fcn.0043a512
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.00439d0e
add esp, 0xc
xor eax, eax
mov ecx, edi
push eax
push eax
push 0x4e
pop edx
call fcn.00447d54
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x46750d
mov ecx, dword [ebp - 0xc]
mov edx, 0x9d
push 0
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x64]
call fcn.00447cc9
mov dword [esi + 0x10], eax
pop ecx
test eax, eax
je 0x4674ff
mov ecx, dword [ebp - 0x18]
add ecx, 2
add ecx, dword [ebp - 8]
push 0
mov dword [eax + 0x1c], ecx
push dword [ebx + 0x18]
push esi
push edi
call fcn.0044b5f2
add esp, 0x10
mov ecx, dword [ebp - 0x64]
mov edx, esi
and dword [esi + 0xc], 0
call fcn.004480e2
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
dec ecx
mov dword [ebp - 0x18], ecx
jns 0x46743e
mov ecx, edi
call fcn.0044a0a2
jmp 0x46831f
mov eax, edx
and eax, 0x100
je 0x4675a9
test dl, 5
je 0x4675a9
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
push ecx
push ebx
mov ecx, edi
call fcn.00466987
mov edx, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 4], eax
cmp eax, edx
je 0x46756f
mov ecx, edi
call fcn.0044c01a
mov eax, dword [ebp - 4]
push eax
push dword [ebx + 0x10]
mov ecx, esi
push dword [ebp - 0x28]
push 0x1f
pop edx
call fcn.00439d0e
mov esi, dword [ebp - 4]
add esp, 0xc
xor eax, eax
mov edx, esi
inc eax
mov ecx, edi
push eax
call fcn.0044a2ff
mov edx, dword [ebp - 0x28]
pop ecx
push esi
push 0xffffffffffffffff
mov ecx, edi
call fcn.00449fd8
add esp, 8
jmp 0x4682e9
test eax, eax
je 0x4677bd
test dl, 2
je 0x4677bd
push 0x20
pop eax
mov dword [ebp - 0x20], 0xa6
mov esi, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
test al, dl
je 0x4675e2
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
xor eax, eax
lea ecx, [eax + 1]
jmp 0x4675e5
mov ecx, dword [ebp - 4]
test dl, 0x10
je 0x4675f8
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x18], ecx
jmp 0x4675fb
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x467607
mov dword [ebp - 0x18], esi
mov esi, ecx
test esi, esi
je 0x4676b5
mov edx, dword [esi]
mov dword [ebp - 8], 0x1a18191b
mov dword [ebp - 4], edx
mov ecx, dword [edx + 0x10]
call fcn.00447826
mov ecx, edi
test eax, eax
je 0x46765a
call fcn.0044bffb
mov edx, dword [edx + 0x10]
xor ecx, ecx
inc ecx
mov dword [ebp - 0xc], eax
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.00467075
mov edx, dword [ebp - 4]
xor eax, eax
pop ecx
pop ecx
inc eax
movzx ecx, byte [edx]
sub ecx, 0x4f
or ecx, eax
movzx edx, byte [ebp + ecx - 8]
jmp 0x467684
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x4c]
push eax
call fcn.0044b02e
pop ecx
mov edx, esi
mov dword [ebp - 0x3c], eax
mov ecx, ebx
call fcn.00466870
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
movzx ecx, byte [edx]
movzx edx, byte [ebp + ecx - 0x57]
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp - 0x58]
push dword [ebp - 0x28]
call fcn.00439d0e
mov edx, dword [ebp - 0x3c]
add esp, 0xc
xor eax, eax
mov ecx, edi
inc eax
push eax
call fcn.0044a2ff
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, edi
call fcn.0044c01a
jmp 0x4676d2
push dword [ebp - 0xc]
mov esi, dword [ebp - 0x1c]
test eax, eax
push dword [ebp - 0x28]
push 0x25
pop edx
push 0x21
pop ecx
cmovne edx, ecx
mov ecx, esi
call fcn.00439d92
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x46774e
mov eax, dword [eax]
xor edx, edx
inc dword [edi + 0x2c]
inc edx
mov ecx, dword [edi + 0x2c]
push edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.00467075
mov edx, dword [ebp - 4]
pop ecx
pop ecx
mov eax, dword [edx + 0x10]
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.00447826
test eax, eax
jne 0x467728
mov al, byte [edx]
cmp al, 0x51
je 0x467716
cmp al, 0x4f
jne 0x467728
cmp dword [ebp - 0x30], 0
push 0x52
pop edx
push 0x50
pop eax
cmovne edx, eax
mov dword [ebp - 0x20], edx
jmp 0x467738
cmp dword [ebp - 0x30], 0
push 0x4f
pop eax
push 0x51
pop ecx
cmovne eax, ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
call fcn.00447826
test eax, eax
jne 0x46774e
mov edx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00466870
mov ecx, esi
call fcn.0043a10e
cmp dword [ebp - 0x30], 0
mov dword [ebx + 0x34], eax
sete cl
add cl, 6
cmp dword [ebp - 0x20], 0xa6
mov byte [ebx + 0x2d], cl
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 0x30], ecx
je 0x46831f
inc dword [edi + 0x2c]
mov esi, dword [edi + 0x2c]
push esi
push ecx
mov ecx, dword [ebp - 0x1c]
push 0x7b
pop edx
call fcn.00439d92
mov edx, dword [ebp - 0x28]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.00449fd8
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x58]
push dword [ebp - 0x10]
call fcn.00439d0e
mov ecx, dword [ebp - 0x1c]
add esp, 0x1c
push 0x53
pop edx
call fcn.0043a22b
jmp 0x46831f
test edx, 0x200
je 0x467dbc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x24], ecx
movzx esi, word [eax + 0x18]
mov dword [ebp - 8], esi
movzx esi, word [eax + 0x1a]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x11], cl
mov byte [ebp - 0x5d], cl
mov ecx, dword [eax + 0x20]
movzx esi, si
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x20], esi
movzx esi, word [eax + 0x1c]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x4c], esi
movzx esi, si
mov dword [ebp - 0x54], esi
test byte [ecx + 0x2c], 1
mov esi, dword [ebp - 0x1c]
je 0x467839
cmp byte [ecx + 0x2f], 0
mov ecx, dword [ebp - 8]
jle 0x46783c
mov esi, dword [ebp - 0x5c]
cmp word [esi + 0x32], cx
mov esi, dword [ebp - 0x1c]
jbe 0x46783c
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x24], 1
jmp 0x46783c
mov ecx, dword [ebp - 8]
movzx ecx, cx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x10], ecx
test dl, 0x20
je 0x467875
mov eax, dword [eax + 0x30]
mov edi, ecx
mov eax, dword [eax + edi*4]
inc edi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
movzx eax, ax
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x24]
cmp edi, eax
cmovle edi, eax
mov eax, edi
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
test dl, 0x10
je 0x46791e
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
movzx eax, ax
cmp edx, eax
cmovle edx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], edx
mov edx, 0x100
test word [eax + 0xa], dx
je 0x4678eb
mov eax, dword [edi + 0x2c]
mov ecx, esi
inc eax
push eax
mov dword [edi + 0x2c], eax
mov dword [ebx + 0x24], eax
xor eax, eax
inc eax
push eax
push 0x38
pop edx
call fcn.00439d92
pop ecx
pop ecx
mov ecx, esi
call fcn.0043a10e
shl dword [ebx + 0x24], 1
xor ecx, ecx
mov edx, dword [ebp - 0x34]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x1c]
cmp byte [edx + eax], 1
sete cl
xor ecx, dword [ebp - 0x30]
or dword [ebx + 0x24], ecx
mov ecx, edx
cmp dword [ebp - 0x48], 0
jne 0x46791e
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
test edx, edx
js 0x467913
mov eax, dword [ebp - 0x5c]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
je 0x467918
cmp edx, 0xfffffffe
jne 0x46791e
xor eax, eax
inc eax
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 8]
movzx eax, word [edx + 0x32]
mov dword [ebp - 0xc], eax
cmp cx, ax
jae 0x46794d
mov eax, dword [edx + 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x34]
cmp byte [edx + eax], cl
mov edx, dword [ebp - 0x30]
sete cl
cmp edx, ecx
je 0x467959
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
jmp 0x467950
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x467984
cmp ax, cx
jne 0x467984
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x5d], al
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], ecx
movzx ecx, si
mov esi, dword [ebp - 0x1c]
movzx eax, al
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push dword [ebp - 0x24]
push edx
mov edx, ebx
call fcn.00466da2
mov ecx, dword [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4679ba
cmp word [ebp - 0x54], 0
je 0x4679ba
mov edx, dword [ebp - 0x34]
lea edx, [edx + ecx]
mov ecx, dword [ebp - 0x64]
call fcn.00423389
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4679d4
test byte [eax + 0xc], 0x28
jne 0x4679d4
xor ecx, ecx
mov dword [ebp - 0x44], ecx
jmp 0x4679dc
xor ecx, ecx
inc ecx
mov dword [ebp - 0x44], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x4679f1
test byte [edx + 0xc], 0x28
jne 0x4679f1
xor edx, edx
mov dword [ebp - 0x10], ecx
inc edx
jmp 0x4679f7
xor edx, edx
inc edx
mov dword [ebp - 0x10], edx
test eax, eax
jne 0x467a04
mov dword [ebp - 0xc], ecx
cmp word [ebp - 8], ax
jbe 0x467a07
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
test eax, eax
je 0x467aab
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add edx, dword [ebp - 0x18]
movzx ecx, cx
mov eax, dword [eax + 0x10]
push ecx
mov dword [ebp - 0x74], edx
mov ecx, edi
push edx
mov edx, eax
mov dword [ebp - 8], eax
call fcn.00467075
push dword [ebp - 0x48]
mov esi, dword [ebp - 0x1c]
mov edx, ebx
mov ecx, esi
call fcn.00466f93
mov ecx, dword [ebp - 8]
add esp, 0xc
call fcn.00448d3b
test eax, eax
je 0x467a64
push dword [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0x74]
push 0x4b
pop edx
call fcn.00439d92
pop ecx
pop ecx
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x467a80
mov eax, dword [ebp - 0x34]
add eax, ecx
mov ecx, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x20]
movzx edx, ax
call fcn.00466933
pop ecx
mov ecx, dword [ebp - 0x20]
movzx eax, cx
mov ecx, dword [ebp - 8]
add dword [ebp - 0x24], eax
call fcn.00447826
test eax, eax
jne 0x467aa1
mov edx, dword [ebp - 0x48]
mov ecx, ebx
call fcn.00466870
jmp 0x467aa7
xor eax, eax
inc eax
mov dword [ebp - 0x44], eax
xor al, al
jmp 0x467ad5
mov al, byte [ebp - 0x11]
test al, al
je 0x467ad5
mov eax, dword [ebp - 0x18]
add eax, edx
push eax
push ecx
push 0x3b
pop edx
mov ecx, esi
call fcn.00439d92
inc dword [ebp - 0x24]
xor eax, eax
and dword [ebp - 0x44], 0
inc eax
pop ecx
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 0x11]
pop ecx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x68]
mov edx, dword [ebp - 0x18]
movzx eax, al
sub ecx, eax
push ecx
mov ecx, edi
call fcn.004668d8
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
movzx eax, word [eax + 0x2a]
test ax, ax
je 0x467afe
cmp dword [ebp - 0x24], eax
je 0x467b28
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x18]
push dword [ebp - 0x4c]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0x40]
movzx edx, byte [ecx + eax*2 + 0x4a68f8]
mov ecx, esi
call fcn.00439f0f
add esp, 0x10
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x467be9
mov eax, dword [eax]
xor ecx, ecx
inc ecx
push ecx
mov ecx, edi
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x18]
mov edx, eax
mov dword [ebp - 0xc], eax
call fcn.0044a060
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
pop ecx
movzx eax, ax
mov ecx, edi
push eax
push dword [ebp - 0xc]
call fcn.00467075
push dword [ebp - 0x50]
mov edx, ebx
mov ecx, esi
call fcn.00466f93
mov ecx, dword [ebp - 0x44]
add esp, 0xc
call fcn.00448d3b
test eax, eax
je 0x467b93
push dword [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0xc]
push 0x4b
pop edx
call fcn.00439d92
pop ecx
pop ecx
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x467bc0
mov ecx, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x54]
movzx edx, ax
call fcn.00466933
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 0x54]
push dword [ebp - 0x58]
movzx eax, cx
mov ecx, edi
push eax
call fcn.004668d8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x54]
movzx eax, cx
mov ecx, dword [ebp - 0x44]
add dword [ebp - 0x34], eax
call fcn.00447826
test eax, eax
jne 0x467be1
mov edx, dword [ebp - 0x50]
mov ecx, ebx
call fcn.00466870
jmp 0x467c0b
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x467c0b
cmp byte [ebp - 0x5d], 0
je 0x467c0b
mov eax, dword [ebp - 0x34]
mov ecx, esi
add eax, dword [ebp - 0x18]
push eax
push 0
push 0x3b
pop edx
call fcn.00439d92
and dword [ebp - 0x10], 0
inc dword [ebp - 0x34]
pop ecx
pop ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
call fcn.00423004
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x64]
call fcn.00423004
mov ecx, esi
call fcn.0043a10e
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x467c54
mov ecx, dword [ebp - 0x30]
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x4c]
push dword [ebp - 0x40]
movzx edx, byte [eax + ecx*2 + 0x4a8f0c]
mov ecx, esi
call fcn.00439f0f
add esp, 0x10
cmp dword [ebp - 4], 0
jne 0x467d5e
mov edx, dword [ebp - 0x5c]
push 0x20
pop eax
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], al
jne 0x467cdc
mov ecx, dword [ebp - 0x38]
mov esi, 0x400
movzx eax, word [ecx + 0x2c]
test esi, eax
jne 0x467c9d
test eax, 0x1000
je 0x467c8b
xor eax, eax
inc eax
cmp byte [ecx + 0x31], al
je 0x467c9d
push dword [ebp - 0x40]
push dword [ebp - 0x28]
call fcn.00466fc7
pop ecx
pop ecx
jmp 0x467d5e
inc dword [edi + 0x2c]
mov edx, 0x81
mov esi, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x40]
call fcn.00439d92
mov edx, dword [ebp - 0x28]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.00449fd8
mov ecx, dword [ebp - 0x1c]
push esi
push 0
push dword [ebp - 0x28]
push 0x20
pop eax
mov edx, eax
call fcn.00439d0e
add esp, 0x1c
jmp 0x467d5e
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x40]
je 0x467d5e
call fcn.0044ee3e
mov ecx, edi
mov dword [ebp - 0xc], eax
movzx edx, word [eax + 0x32]
call fcn.0044c05d
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dx, word [eax + 0x32]
jae 0x467d45
mov ebx, eax
xor edi, edi
lea eax, [edi + ecx]
mov ecx, dword [ebp - 0x5c]
push eax
mov eax, dword [ebx + 4]
mov dx, word [eax + edi*2]
call fcn.0044ee56
cwde
mov ecx, esi
push eax
push dword [ebp - 0x40]
push 0x60
pop edx
call fcn.00439d0e
movzx eax, word [ebx + 0x32]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
inc edi
cmp edi, eax
jl 0x467d0b
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x32]
push eax
push ecx
push dword [ebp - 0x7c]
mov ecx, esi
push dword [ebp - 0x28]
push 0x1d
pop edx
call fcn.00439f0f
add esp, 0x10
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x5c]
call fcn.00467131
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
test dword [ecx + 0x24], 0x1000
je 0x467d83
mov byte [ebx + 0x2d], 0xa6
jmp 0x467d8f
cmp dword [ebp - 0x30], 0
sete al
add al, 6
mov byte [ebx + 0x2d], al
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [ebx + 0x30], eax
inc edx
mov al, byte [ecx + 0x26]
and al, dl
mov byte [ebx + 0x2e], al
test byte [ecx + 0x24], 0xf
jne 0x467da9
mov byte [ebx + 0x2f], dl
cmp dword [ebp - 4], 0
je 0x46831f
and dword [ebp - 0x5c], 0
jmp 0x46831f
test edx, 0x2000
je 0x4682e1
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x34], eax
inc eax
inc dword [edi + 0x2c]
mov dword [ebp - 0x50], ecx
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x58], ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.00439f5e
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x48], eax
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], edx
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x30], ecx
mov ecx, dword [ebp - 0x38]
mov byte [ebx + 0x2d], 0x34
mov cl, byte [ecx + 0x2e]
cmp cl, 1
jbe 0x467ef4
movzx ecx, cl
sub ecx, dword [ebp - 0x4c]
dec ecx
mov dword [ebp - 4], ecx
imul ecx, ecx, 0x50
push eax
add ecx, 0x58
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.0042320a
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
jne 0x467e59
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
jmp 0x468566
mov al, byte [ebp - 4]
inc al
movzx eax, al
push 0x50
mov dword [ecx + 4], eax
mov dword [ecx], eax
pop eax
push eax
push dword [ebp - 0x10]
lea eax, [ecx + 8]
push eax
call fcn.0047b870
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, 8
inc eax
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 4], eax
jl 0x467ec5
mov esi, dword [ebp - 0x40]
lea edi, [ebx + 0x7c]
mov ebx, dword [ebp - 4]
add esi, 0x58
push 0x50
pop eax
push eax
movzx eax, byte [edi]
imul eax, eax, 0x50
add eax, ecx
push eax
push esi
call fcn.0047b870
mov ecx, dword [ebp - 0x74]
add esp, 0xc
push 0x50
pop eax
add edi, eax
add esi, eax
dec ebx
jne 0x467e9c
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x78]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x54]
xor eax, eax
mov ecx, dword [ebp - 0x38]
test byte [ecx + 0x2c], 0x10
jne 0x467f3c
push 0x20
pop ecx
test byte [edx + 0x24], cl
jne 0x467eff
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
push ecx
push eax
mov dword [ebp - 0x20], ecx
mov ecx, esi
push 0x3b
pop edx
call fcn.00439d92
pop ecx
pop ecx
jmp 0x467f33
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x40], ecx
jmp 0x467eca
mov ecx, edx
call fcn.0044ee3e
mov esi, eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x20], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
push 0x6c
pop edx
call fcn.00439d92
pop ecx
pop ecx
mov edx, esi
mov ecx, edi
call fcn.0043a4f7
mov esi, dword [ebp - 0x1c]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x58], eax
push dword [ebp - 0xc]
mov ecx, esi
push 0
push 0x38
pop edx
call fcn.00439d92
pop ecx
pop ecx
mov dword [ebp - 0x70], eax
xor ecx, ecx
mov eax, dword [ebp - 0x6c]
inc ecx
cmp dword [eax + 0xc], ecx
jle 0x467ff6
xor edx, edx
mov dword [ebp - 4], edx
cmp dword [eax + 0xc], edx
jle 0x467ff6
xor ebx, ebx
mov ecx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ebx
mov eax, dword [eax + 0x14]
add eax, ecx
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp eax, dword [ebp - 0x2c]
je 0x467fbd
test byte [esi + 4], 1
jne 0x467fbd
test byte [eax + 0xa], 6
jne 0x467fbd
mov esi, 0x1fff
test word [eax + 0xc], si
je 0x467fbd
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x64]
push ebx
call fcn.00448437
pop ecx
mov ecx, dword [ebp - 0x64]
mov edx, edi
push eax
call fcn.00447e48
mov edx, dword [ebp - 4]
mov edi, eax
pop ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x6c]
inc edx
add ecx, 0x30
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ecx
cmp edx, dword [eax + 0xc]
jl 0x467f76
mov ebx, dword [ebp - 0x3c]
test edi, edi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x78]
je 0x467ff6
mov ecx, dword [ebp - 0x48]
mov edx, 0x147
push ecx
push 0
mov ecx, edi
call fcn.00447d54
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov ecx, 0x400
mov edx, dword [ebp - 0x68]
push 0x20
mov ax, word [eax + 0x2c]
and ax, cx
pop ecx
or ax, cx
movzx eax, ax
mov dword [ebp - 0x74], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x44], ecx
cmp dword [edx + 0xc], eax
jle 0x468270
or dword [ebp - 0x90], 0xffffffff
mov esi, dword [ebp - 0x28]
imul ecx, ecx, 0x30
add ecx, dword [edx + 0x14]
cmp dword [ecx + 0x14], esi
mov esi, dword [ebp - 0x1c]
je 0x46804e
mov esi, 0x400
test word [ecx + 0xc], si
mov esi, dword [ebp - 0x1c]
je 0x468260
mov edx, dword [ebp - 0x48]
mov ecx, dword [ecx]
mov dword [ebp - 4], eax
test edx, edx
je 0x468065
test byte [ecx + 4], 1
jne 0x468065
mov dword [edx + 0xc], ecx
mov ecx, edx
push dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
push dword [ebp - 0x74]
push eax
push eax
push ecx
mov ecx, edi
call fcn.0046dc16
add esp, 0x14
mov dword [ebp - 0x88], eax
test eax, eax
je 0x46825b
movzx ecx, byte [ebx + 0x2c]
mov edx, dword [ebp - 0x40]
push 0
push ecx
push dword [ebp - 0x4c]
lea ecx, [eax + 0x2f0]
push ecx
mov ecx, edi
call fcn.0046660b
mov eax, dword [ebp - 0x38]
add esp, 0x10
test byte [eax + 0x2c], 0x10
jne 0x4681de
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x90]
push 0x20
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
mov eax, dword [ebp - 0x54]
cmove ecx, edx
mov dword [ebp - 0x10], ecx
pop ecx
test byte [eax + 0x24], cl
jne 0x468107
push 0
push dword [ebp - 0x58]
mov ecx, edi
push dword [ebp - 0x28]
push edx
mov edx, eax
call fcn.0044a1f1
push dword [ebp - 0x10]
mov ecx, esi
push eax
push 0
push dword [ebp - 0x20]
push 0x2b
pop edx
call fcn.00439f0f
add esp, 0x20
mov dword [ebp - 4], eax
jmp 0x4681de
mov ecx, eax
call fcn.0044ee3e
mov ecx, edi
mov dword [ebp - 0x84], eax
movzx edx, word [eax + 0x32]
mov dword [ebp - 8], edx
call fcn.0044c05d
and dword [ebp - 0x8c], 0
mov ecx, eax
mov dword [ebp - 0x18], ecx
test edx, edx
jle 0x46816c
mov ebx, dword [ebp - 0x8c]
mov esi, edx
mov eax, dword [ebp - 0x84]
add ecx, ebx
mov edx, dword [ebp - 0x54]
push ecx
push dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov ecx, edi
movsx eax, word [eax + ebx*2]
push eax
call fcn.0044a28c
mov ecx, dword [ebp - 0x18]
add esp, 0xc
inc ebx
cmp ebx, esi
jl 0x46813a
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x46818f
push edx
push ecx
push 0
push dword [ebp - 0x20]
mov ecx, esi
push 0x1e
pop edx
call fcn.00439f0f
mov dword [ebp - 4], eax
add esp, 0x10
mov eax, dword [ebp - 0x10]
test eax, eax
js 0x4681d0
push dword [ebp - 0x58]
mov ecx, esi
push dword [ebp - 8]
push dword [ebp - 0x18]
push 0x63
pop edx
call fcn.00439d0e
add esp, 0xc
mov ecx, esi
push dword [ebp - 8]
push dword [ebp - 0x18]
push dword [ebp - 0x58]
push dword [ebp - 0x20]
push 0x7e
pop edx
call fcn.00439f0f
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x4681d0
push 0x10
pop edx
mov ecx, esi
call fcn.0043a22b
push dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov ecx, edi
call fcn.0044c093
pop ecx
push dword [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0xc]
push 0xe
pop edx
call fcn.00439d92
mov eax, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
je 0x468200
mov edx, eax
mov ecx, esi
call fcn.0043a243
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x24]
push 1
pop ecx
cmp byte [edx + 0x32], 0
cmovne eax, ecx
mov ecx, dword [edx + 0x330]
mov dword [ebp - 0x24], eax
test dword [ecx + 0x24], 0x200
je 0x468250
cmp dword [ebp - 0x44], 0
je 0x468233
mov eax, dword [ebp - 0x50]
cmp dword [ecx + 0x20], eax
jne 0x468250
mov eax, dword [ebp - 0x54]
test byte [eax + 0x24], 0x20
je 0x468248
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x468250
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x50], eax
jmp 0x468254
and dword [ebp - 0x50], 0
mov ecx, edx
call fcn.0046e436
mov edx, dword [ebp - 0x68]
xor eax, eax
mov ecx, dword [ebp - 0x44]
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, dword [edx + 0xc]
jl 0x46802b
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 0x38], ecx
test ecx, ecx
je 0x468280
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x468294
mov dword [ecx + 0xc], eax
mov edx, ecx
mov ecx, dword [ebp - 0x64]
call fcn.004480e2
mov ecx, esi
call fcn.0043a10e
mov edx, dword [ebp - 0x70]
push eax
call fcn.0043a1fb
mov edx, dword [ebx + 0xc]
pop ecx
mov ecx, esi
call fcn.00439da7
mov edx, dword [ebp - 0x30]
mov ecx, esi
call fcn.00439fa0
mov eax, dword [ebp - 0x38]
xor ecx, ecx
inc ecx
cmp byte [eax + 0x2e], cl
jbe 0x4682cf
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x64]
call fcn.00423004
cmp dword [ebp - 0x24], 0
jne 0x46831f
mov edx, dword [ebp - 0x2c]
mov ecx, ebx
call fcn.00466870
jmp 0x46831f
push 0x20
pop eax
test byte [ebp - 0x70], al
je 0x4682ef
mov byte [ebx + 0x2d], 0xa6
jmp 0x46831f
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0xc]
mov al, byte [ecx + 0x4a5ecc]
movzx edx, byte [ecx + 0x4a69a8]
mov ecx, esi
mov byte [ebx + 0x2d], al
mov eax, dword [ebp - 0x28]
push eax
mov dword [ebx + 0x30], eax
call fcn.00439d92
inc eax
mov dword [ebx + 0x34], eax
xor eax, eax
inc eax
mov byte [ebx + 0x2f], al
pop ecx
pop ecx
xor edx, edx
cmp dword [ebp - 0x5c], edx
sete dl
inc edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 8], eax
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
jmp 0x46840a
xor ecx, ecx
mov dword [ebp - 4], ecx
movzx ecx, word [esi + 0xa]
test cl, 6
jne 0x468400
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
je 0x46836e
mov eax, dword [ebp - 0x38]
xor ecx, ecx
inc ecx
mov byte [eax + 0x32], cl
jmp 0x4683fd
mov eax, dword [esi]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x70], eax
cmp dword [ebx], 0
je 0x468380
test byte [eax + 4], cl
je 0x4683fd
cmp edx, ecx
jne 0x4683a2
push dword [ebp - 0x5c]
mov edx, dword [ebx + 4]
mov ecx, eax
call fcn.0044bc48
pop ecx
test eax, eax
jne 0x468430
push 2
pop eax
mov dword [ebp - 8], eax
jmp 0x468400
cmp edx, 3
jl 0x468433
movzx eax, word [esi + 0xa]
test eax, 0x200
je 0x4683d4
mov eax, dword [ebx + 0x24]
shr eax, 1
test byte [ebx + 0x24], cl
mov ecx, dword [ebp - 0x1c]
push eax
push 0
pop edx
setne dl
add edx, 0x15
call fcn.00439d7e
pop ecx
mov dword [ebp - 4], eax
push 0x10
push dword [ebp - 0x7c]
push dword [ebp - 0x70]
push edi
call fcn.0044b5f2
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
je 0x4683f6
mov ecx, dword [ebp - 0x1c]
mov edx, eax
call fcn.0043a243
push 4
pop eax
or word [esi + 0xa], ax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x3c]
dec ecx
add esi, 0x30
mov dword [ebp - 0xc], ecx
test ecx, ecx
jg 0x46833e
mov edx, eax
mov dword [ebp - 0x3c], edx
test eax, eax
jg 0x46832b
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
jmp 0x4684df
xor ecx, ecx
inc ecx
movzx eax, word [esi + 0xa]
test eax, 0x1000
je 0x4683af
mov eax, dword [ebp - 8]
test eax, eax
jne 0x468400
push 3
jmp 0x46839c
test byte [esi + 0xa], 6
jne 0x4684db
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4684db
test ecx, 0x800
je 0x4684db
mov ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], ecx
jne 0x4684db
cmp dword [ebx], 0
jne 0x4684db
mov eax, dword [esi]
mov edx, ecx
mov ecx, dword [ebp - 0x6c]
push 0
push 0x83
push dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
push dword [ebp + 8]
push dword [esi + 0x1c]
call fcn.0046a28e
add esp, 0x14
test eax, eax
je 0x4684d8
test byte [eax + 0xa], 4
jne 0x4684d8
mov esi, dword [eax]
lea edi, [ebp - 0xc0]
mov eax, dword [ebp - 0x70]
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
mov edi, dword [ebp - 0x78]
push 0x10
push dword [ebp - 0x7c]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xc0]
push eax
push edi
call fcn.0044b5f2
mov esi, dword [ebp - 4]
add esp, 0x10
mov eax, dword [ebp - 0x3c]
dec eax
add esi, 0x30
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], esi
test eax, eax
jg 0x468450
cmp dword [ebx], 0
je 0x468560
mov ecx, dword [ebp - 0x1c]
call fcn.0043a10e
push dword [ebx]
mov dword [ebx + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x38
pop edx
call fcn.00439d92
pop ecx
pop ecx
mov ecx, edi
call fcn.0044a2be
mov eax, dword [ebp - 0x6c]
xor edx, edx
mov esi, dword [eax + 0x14]
cmp dword [eax + 0xc], edx
jle 0x468560
test byte [esi + 0xa], 6
jne 0x468554
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
jne 0x468551
push 0x10
push dword [ebp - 0x7c]
push dword [esi]
push edi
call fcn.0044b5f2
mov edx, dword [ebp - 0x80]
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
mov eax, dword [ebp - 0x6c]
inc edx
add esi, 0x30
mov dword [ebp - 0x80], edx
cmp edx, dword [eax + 0xc]
jl 0x468521
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret