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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x55c380]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
push esi
mov dword [esp + 0x14], ecx
mov ecx, ebx
push edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
call fcn.004337c0
mov ecx, ebx
mov dword [esp + 0x40], eax
call fcn.004337c0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov edx, dword [ecx + 0x1c]
movzx eax, byte [ecx + 4]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], edx
mov edi, dword [edx]
mov dword [esp + 0x30], edi
cmp eax, 0x71
je 0x4616b1
mov eax, dword [esp + 0x10]
mov esi, 1
cmp byte [eax + 0x1e], 0
jne 0x4616b1
lea edi, [edi + edi*4]
shl edi, 2
mov eax, dword [ecx]
cmp esi, dword [eax]
jg 0x4616ad
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, dword [edx + 0xc]
test eax, eax
jle 0x461617
add edx, 0xe
mov ebx, eax
nop dword [eax]
movzx eax, word [edx]
cmp eax, esi
je 0x46160f
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x461600
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
cmp ecx, eax
jne 0x46167b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x6c]
push 0
push eax
mov edx, 0x81
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.00443c10
add esp, 8
test eax, eax
je 0x461693
mov edx, dword [esp + 0x20]
mov ecx, 0x400
or word [eax + 2], cx
mov ecx, dword [esp + 0x18]
push eax
mov dword [eax + 4], esi
call fcn.00444b80
inc dword [esp + 0x34]
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
mov eax, dword [edx + 0xc]
mov word [eax + edi + 0xe], si
add edi, 0x14
jmp 0x46167f
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc esi
cmp byte [eax + 0x1e], 0
jne 0x4616ad
mov ecx, dword [esp + 0x14]
jmp 0x4615e1
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
lea edx, [edi*4]
call fcn.00419310
mov esi, dword [esp + 0x20]
mov dword [esp + 0x60], eax
test eax, eax
je 0x461876
mov edx, dword [esi + 0xc]
xor ecx, ecx
test edi, edi
jle 0x4616f3
add edx, 0xe
mov ebx, eax
nop
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x4616e0
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
lea ecx, [edi + 4]
lea ecx, [edi + ecx*4]
test edx, edx
je 0x461725
cmp byte [edx + 0x1e], 0
jne 0x461876
cmp byte [edx + 0xea], 0
je 0x461725
movzx eax, word [edx + 0xe8]
cmp ecx, eax
jle 0x461799
inc dword [edx + 0xf8]
push ecx
call fcn.00418d10
mov edx, dword [esp + 0x14]
mov ecx, eax
add esp, 4
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x46174c
test edx, edx
je 0x461744
mov byte [edx + 0x1e], 1
test ecx, ecx
je 0x46187e
mov word [ecx + 6], di
lea eax, [edi + 3]
lea eax, [ecx + eax*4]
mov dword [ecx + 8], eax
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [ecx + 4], al
test edi, edi
jle 0x46187e
xor edx, edx
lea edi, [ecx + 0xc]
mov dword [esp + 0x24], edx
xor ebx, ebx
mov dword [esp + 0x4c], edi
nop dword [eax]
mov eax, dword [esi + 0xc]
mov esi, dword [edx + eax]
mov eax, 0x100
test word [esi + 2], ax
je 0x4617e5
mov eax, dword [esi + 0x14]
jmp 0x461840
mov eax, dword [edx + 0x100]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x4617b2
inc dword [edx + 0xfc]
jmp 0x461725
mov ecx, eax
mov eax, dword [ecx]
inc dword [edx + 0xec]
mov dword [edx + 0x100], eax
inc dword [edx + 0xf4]
mov eax, dword [edx + 0xec]
cmp eax, dword [edx + 0xf0]
jle 0x461744
mov dword [edx + 0xf0], eax
jmp 0x461744
mov eax, dword [esp + 0x60]
mov edi, dword [eax + ebx*4]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x46180a
mov ecx, dword [esp + 0x18]
push edi
call fcn.00460850
add esp, 4
test eax, eax
jne 0x461828
jmp 0x46180c
xor eax, eax
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
cmp edi, dword [edx]
jge 0x461828
mov edx, dword [edx + 0xc]
lea eax, [edi + edi*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [edx + eax*4]
call fcn.00443710
mov edx, dword [esp + 0x24]
mov ecx, 0x100
or word [esi + 2], cx
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x14], eax
mov esi, dword [esp + 0x20]
mov dword [edi], eax
add edi, 4
mov ecx, dword [ecx + 8]
mov dword [esp + 0x4c], edi
mov eax, dword [esi + 0xc]
mov al, byte [eax + edx + 0xc]
add edx, 0x14
mov byte [ebx + ecx], al
inc ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], edx
cmp ebx, dword [esp + 0x30]
jl 0x461780
mov ebx, dword [esp + 0x1c]
jmp 0x46187e
mov dword [esp + 0x3c], 0
mov edi, dword [esp + 0x14]
mov edx, esi
push 0
mov dword [edi + 0x18], esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi]
call fcn.004445b0
mov ecx, dword [esp + 0x48]
add esp, 4
cmp dword [esp + 0x34], 0x71
mov dword [ecx + 0x18], eax
jne 0x4618b2
mov dword [esp + 0x20], 0
jmp 0x4619ef
mov eax, dword [edi]
mov edx, dword [esi + 0x38]
mov edi, dword [eax]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x58], edi
mov dword [esp + 0x20], eax
lea ecx, [edi + 1]
cmp ecx, edx
jg 0x4618d7
add eax, ecx
sub edx, ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], edx
jmp 0x4618e6
mov eax, dword [esi + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x20], edx
mov dword [esi + 0x48], eax
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4618f9
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x46192d
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
lea esi, [edi + 4]
lea esi, [edi + esi*4]
mov edx, esi
call fcn.00419310
mov ecx, eax
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x4619ef
push esi
push 0
push ecx
call fcn.004f8b70
mov ecx, dword [esp + 0x34]
add esp, 0xc
test ecx, ecx
je 0x4619ef
lea eax, [edi + 3]
mov word [ecx + 6], di
lea eax, [ecx + eax*4]
xor esi, esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [ecx + 4], al
test edi, edi
jle 0x4619ef
mov ebx, dword [esp + 0x14]
xor edi, edi
add ecx, 0xc
mov dword [esp + 0x38], ecx
mov edx, dword [ebx + 0x1c]
test edx, edx
je 0x4619b2
mov ecx, dword [esp + 0x18]
push esi
call fcn.00460850
mov ecx, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x4619cd
jmp 0x4619b4
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x4619cd
mov edx, dword [edx + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [edx + edi]
call fcn.00443710
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
add edi, 0x14
mov eax, dword [esp + 0x28]
add ecx, 4
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 8]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x58]
jl 0x461994
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, esi
mov edi, dword [esp + 0x18]
mov ecx, edi
push str.ORDER
push dword [esi + 0x18]
mov dword [esi + 0x1c], 0
call fcn.00443040
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [eax + 0x1c], 0
jne 0x461a30
push str.ORDER
push dword [eax + 0x18]
mov edx, eax
mov ecx, edi
call fcn.00443040
add esp, 8
push dword [esp + 0x40]
mov edx, esi
mov ecx, edi
call fcn.004606b0
add esp, 4
cmp dword [esi + 0x30], 0
je 0x461b7e
cmp dword [esp + 0x34], 0x71
jne 0x461b7e
mov eax, dword [edi + 0x48]
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [edi + 0x48], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x34]
lea edi, [eax + 1]
test eax, eax
jne 0x461a72
mov edi, dword [esi + 0x30]
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x461a85
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x461ab7
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x461abb
mov edi, dword [esp + 0x1c]
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x461ace
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x461afe
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
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 esi, dword [esp + 0x14]
mov esi, dword [esi + 0x28]
mov edi, 0x4000
test esi, esi
je 0x461bb9
test word [esi + 2], di
mov edi, dword [esp + 0x10]
jne 0x461ba3
mov edx, dword [esi + 8]
mov ecx, edi
call fcn.004441d0
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.004441d0
mov eax, 0x2000
test word [esi + 2], ax
jne 0x461b51
test byte [esi + 0x22], 1
je 0x461b51
push dword [esi + 4]
push edi
call fcn.004190a0
add esp, 8
mov eax, 0x800
test word [esi + 2], ax
je 0x461b93
mov edi, dword [esi + 0x10]
test edi, edi
je 0x461b9f
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.0045e4c0
push edi
mov edi, dword [esp + 0x14]
push edi
call fcn.004190a0
add esp, 8
jmp 0x461ba3
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
jmp 0x461b02
mov edx, dword [esi + 0x10]
mov ecx, edi
call fcn.00444d70
jmp 0x461ba3
mov edi, dword [esp + 0x10]
cmp word [esi + 2], 0
jl 0x461bb4
push esi
push edi
call fcn.004190a0
add esp, 8
mov edi, 0x4000
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x2c]
mov dword [eax + 0x28], 0
test esi, esi
je 0x461c58
test word [esi + 2], di
mov edi, dword [esp + 0x10]
jne 0x461c47
mov edx, dword [esi + 8]
mov ecx, edi
call fcn.004441d0
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.004441d0
mov eax, 0x2000
test word [esi + 2], ax
jne 0x461c0a
test byte [esi + 0x22], 1
je 0x461c0a
push dword [esi + 4]
push edi
call fcn.004190a0
add esp, 8
mov eax, 0x800
test word [esi + 2], ax
je 0x461c37
mov edi, dword [esi + 0x10]
test edi, edi
je 0x461c43
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.0045e4c0
push edi
mov edi, dword [esp + 0x14]
push edi
call fcn.004190a0
add esp, 8
jmp 0x461c47
mov edx, dword [esi + 0x10]
mov ecx, edi
call fcn.00444d70
jmp 0x461c47
mov edi, dword [esp + 0x10]
cmp word [esi + 2], 0
jl 0x461c58
push esi
push edi
call fcn.004190a0
add esp, 8
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov word [esp + 0x8c], 0xa
mov dword [esp + 0x94], 0
mov dword [eax + 0x2c], 0
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], 0
mov word [esp + 0x7c], 0xa
lea eax, [ecx + 1]
mov dword [esp + 0x84], 0
lea edx, [eax + 1]
mov dword [esp + 0x48], eax
lea eax, [edx + 3]
mov dword [esp + 0x80], edx
mov dword [esi + 0x48], eax
mov dword [esp + 0x88], 0
mov edi, dword [ebx + 0x1c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], edi
cmp dword [ebx + 0x20], edi
jg 0x461cf5
mov ecx, ebx
call fcn.004333b0
test eax, eax
je 0x461cf5
mov dword [esp + 0x58], 1
jmp 0x461d29
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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 [esp + 0x44]
mov edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x30], eax
mov ecx, esi
mov eax, dword [esi + 0x228]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x8c]
push eax
call fcn.00464040
mov esi, dword [ebx + 0x1c]
add esp, 4
cmp dword [ebx + 0x20], esi
jg 0x461d6c
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x461da0
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x461db3
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x461de7
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
mov edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
mov edi, dword [ecx + 0x30]
mov esi, dword [ecx + 0x34]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x34], 0
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x228]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x7c]
push eax
call fcn.00464040
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], esi
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x461e44
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x461e7d
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
mov edi, dword [esp + 0x2c]
inc dword [ebx + 0x1c]
mov word [eax + ecx*4], 7
lea edx, [edi + 1]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x461e81
mov edi, dword [esp + 0x2c]
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x461e94
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x461ec4
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
lea esi, [edi + 1]
mov edi, dword [esp + 0x18]
lea eax, [esi + 1]
push 0xfffffffffffffff0
push dword [esp + 0x30]
mov edx, edi
push dword [esp + 0x2c]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0xa4]
push eax
call fcn.00461160
mov dword [esp + 0x40], eax
add esp, 0x1c
mov eax, dword [esp + 0x34]
cmp eax, 0x71
je 0x461f09
cmp eax, 0x70
jne 0x461f3d
push dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x80]
push 0xffffffffffffffef
push dword [esp + 0x30]
mov edx, edi
push dword [esp + 0x2c]
push dword [esp + 0x5c]
push dword [esp + 0x78]
push eax
call fcn.00461160
mov dword [esp + 0x78], eax
add esp, 0x1c
mov eax, dword [esp + 0x34]
cmp eax, 0x72
je 0x46208b
cmp eax, 0x73
je 0x46208b
mov edi, dword [ebx + 0x1c]
mov dword [esp + 0x28], edi
cmp dword [ebx + 0x20], edi
jg 0x461f71
mov ecx, ebx
call fcn.004333b0
test eax, eax
je 0x461f71
mov edi, 1
mov dword [esp + 0x28], edi
jmp 0x461fa1
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x461fb4
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x461fe8
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x461ffb
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x46202f
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
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 esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x462042
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x462072
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
movsd xmm0, qword [ecx + 0x48]
addsd xmm0, qword [edi + 0x48]
movsd qword [edi + 0x48], xmm0
jmp 0x4620e4
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x28], esi
cmp dword [ebx + 0x20], esi
jg 0x4620ac
mov ecx, ebx
call fcn.004333b0
test eax, eax
je 0x4620ac
mov dword [esp + 0x28], 1
jmp 0x4620e0
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x34], 0x73
jne 0x462111
movsd xmm1, qword [ecx + 0x48]
movsd xmm0, qword [edi + 0x48]
comisd xmm0, xmm1
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jbe 0x46223f
movsd qword [edi + 0x48], xmm1
jmp 0x46223f
mov edi, dword [ebx + 0x1c]
mov dword [esp + 0x1c], edi
cmp dword [ebx + 0x20], edi
jg 0x462133
mov ecx, ebx
call fcn.004333b0
test eax, eax
je 0x462133
mov edi, 1
mov dword [esp + 0x1c], edi
jmp 0x462167
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x46217a
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x4621b5
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
add edx, 2
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4621c8
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x4621fc
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
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 esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x46220f
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x46223f
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [ebx + 0x1c]
mov dword [esp + 0x54], edi
cmp dword [ebx + 0x20], edi
jg 0x462261
mov ecx, ebx
call fcn.004333b0
test eax, eax
je 0x462261
mov edi, 1
mov dword [esp + 0x54], edi
jmp 0x46229c
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x54]
add edx, 2
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4622af
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x4622e3
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
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 esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4622f6
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x46232a
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x46233d
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x462371
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
cmp eax, 0x71
jne 0x462383
mov dword [esp + 0x24], edi
jmp 0x46247d
cmp eax, 0x73
jne 0x462396
mov dword [esp + 0x24], edi
inc edi
mov dword [esp + 0x54], edi
jmp 0x46247d
mov edi, dword [ebx + 0x1c]
mov dword [esp + 0x24], edi
cmp dword [ebx + 0x20], edi
jg 0x4623b7
mov ecx, ebx
call fcn.004333b0
test eax, eax
je 0x4623b7
mov dword [esp + 0x24], 1
jmp 0x4623eb
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
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 esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4623fe
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x462432
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x462445
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x462479
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x34], esi
cmp eax, 0x71
je 0x46248e
cmp eax, 0x70
jne 0x4624d2
cmp dword [ebx + 0x20], esi
jg 0x46249e
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x4624d2
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4624e5
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x46251b
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edi, dword [esp + 0x2c]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x46251f
mov edi, dword [esp + 0x2c]
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x462532
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x462567
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
lea edx, [edi + 1]
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
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
jmp 0x46256b
mov edi, dword [esp + 0x1c]
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x46257e
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x4625b2
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x58]
test eax, eax
js 0x4625cb
mov edx, dword [ebx + 0x1c]
cmp edx, eax
jbe 0x4625cb
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edx
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4625de
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x462612
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x462625
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x46265a
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
inc edx
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x46266d
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x4626a1
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4626b4
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x4626e8
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4626fb
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x46272f
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x462742
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x462773
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
inc edx
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x46278c
mov eax, dword [esp + 0x50]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x1c]
mov dword [ecx], eax
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x4627a6
mov ecx, ebx
call fcn.004333b0
test eax, eax
je 0x4627a6
mov esi, 1
jmp 0x4627da
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov word [eax + ecx*4], 0x17
mov byte [eax + ecx*4 + 3], 0
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
push 0xfffffffffffffff1
push dword [esp + 0x64]
mov edx, esi
mov ecx, ebx
call fcn.00433bb0
mov esi, dword [ebx + 0x1c]
add esp, 8
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x68], eax
cmp dword [ebx + 0x20], esi
jg 0x46281c
mov ecx, ebx
call fcn.004333b0
test eax, eax
je 0x46281c
mov edi, dword [esp + 0x30]
mov esi, 1
jmp 0x46284c
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff0
push dword [esp + 0x40]
mov edx, esi
mov ecx, ebx
call fcn.00433bb0
mov esi, dword [ebx + 0x1c]
add esp, 8
cmp dword [ebx + 0x20], esi
jg 0x462871
mov ecx, ebx
call fcn.004333b0
test eax, eax
jne 0x4628a5
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4628d2
lea esi, [edi + 1]
mov edx, eax
mov edi, dword [esp + 0x18]
mov ecx, edi
push esi
call fcn.00446290
add esp, 4
cmp esi, dword [edi + 0x38]
jle 0x4628d6
mov eax, dword [esp + 0x20]
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], eax
jmp 0x4628d6
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x4628ef
mov eax, dword [esp + 0x40]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x64]
cmp byte [eax], 5
jne 0x46291c
mov eax, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x46290e
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x462905
push dword [ecx]
xor edx, edx
mov ecx, edi
call fcn.00460030
add esp, 4
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x46293e
mov ebx, dword [esp + 0x10]
mov edx, esi
mov ecx, ebx
call fcn.0045e4c0
push esi
push ebx
call fcn.004190a0
add esp, 8
mov ecx, dword [esp + 0x44]
movzx edx, byte [edi + 4]
push 0
push dword [esp + 0x7c]
mov dword [edi + 0x1c], ecx
push dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
call fcn.0045f6e0
mov ecx, dword [esp + 0xa8]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret