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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, ecx
mov byte [esp + 3], 0
push ebx
push esi
push edi
mov edi, dword [eax + 8]
xor ecx, ecx
mov ebx, edx
mov dword [esp + 0x4c], ecx
xor edx, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x54], ecx
cmp dword [edi + 0x70], ecx
jg 0x49438c
push edx
push edx
push edx
mov edx, 0x11
mov ecx, edi
call fcn.00436f60
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x4943af
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebx + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x10], ecx
movlpd qword [esp + 0x58], xmm0
mov eax, dword [edx + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebp + 0x14]
lea eax, [eax + eax*2]
mov ebx, dword [ebx + 0x40]
shl eax, 4
add eax, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], eax
cmp esi, eax
jae 0x4945bb
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
nop dword [eax]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x28]
mov ebx, dword [esi]
mov eax, dword [eax]
or eax, dword [edi + 4]
mov edi, dword [esp + 0x20]
jne 0x49447a
test byte [esi + 0xa], 2
jne 0x49447a
test byte [ebx + 4], 1
jne 0x49447a
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x64]
mov edx, ebx
mov byte [esp + 0x78], 3
mov dword [esp + 0x68], fcn.0044e3a0
mov dword [esp + 0x6c], 0x44e240
mov dword [esp + 0x7c], eax
call fcn.00449540
cmp byte [esp + 0x78], 0
je 0x494473
mov edx, ebx
mov ebx, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [ebx]
call fcn.0044d210
mov edx, dword [esp + 0x38]
mov ecx, ebx
push eax
call fcn.0044cbe0
add esp, 0xc
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x4945a4
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4945a0
test byte [edx + 0x24], 8
je 0x4944a9
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4944a9
test cl, cl
js 0x4945a0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4945a0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x4945a0
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
call fcn.0044c0c0
test eax, eax
je 0x49459d
mov edx, dword [esi + 0x1c]
xor ebx, ebx
cmp edx, 0x40
jl 0x4944f7
mov dword [esp + 0x34], SysReAllocString
jmp 0x494510
mov eax, edx
xor ecx, ecx
bts ebx, eax
cmp eax, 0x20
cmovae ecx, ebx
xor ebx, ecx
cmp eax, 0x40
cmovae ecx, ebx
mov dword [esp + 0x34], ecx
cmp byte [esp + 0xf], 0
jne 0x49453c
mov ecx, dword [esp + 0x38]
add edx, edx
mov eax, dword [ecx + 4]
push dword [eax + edx*8]
push dword [ecx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.00418680
add esp, 0x10
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x34]
mov ecx, ebx
and ecx, dword [esp + 0x24]
and eax, dword [esp + 0x14]
or ecx, eax
jne 0x49459d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.004951c0
add esp, 4
test eax, eax
jne 0x494e11
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
or dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
or ebx, dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], ebx
mov dword [eax + ecx*4], esi
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
jmp 0x4945a8
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
add esi, 0x30
cmp esi, dword [esp + 0x48]
jb 0x494400
mov esi, dword [esp + 0x24]
jmp 0x4945c3
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
movzx eax, cx
not ebx
mov ecx, dword [esp + 0x28]
or ebx, 0x80000000
not esi
mov word [ecx + 0x28], ax
mov word [ecx + 0x18], ax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x24], 0x4241
mov ecx, dword [edx + 0x38]
and esi, ecx
and ebx, dword [edx + 0x3c]
mov dword [esp + 0x24], esi
mov esi, 0x3f
mov dword [esp + 0x14], ebx
movzx ebx, word [eax + 0x2a]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
movzx eax, bx
cmp si, bx
jge 0x494616
mov dword [esp + 0x34], esi
jmp 0x494624
movsx esi, bx
mov dword [esp + 0x34], esi
xor esi, esi
cmp si, ax
jge 0x494669
mov edi, dword [esp + 0x34]
xor esi, esi
mov ebx, dword [esp + 0x14]
nop
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x24]
and ecx, ebx
or edx, ecx
je 0x494655
inc dword [esp + 0x10]
inc esi
cmp esi, edi
jl 0x494630
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
jg 0x494685
jl 0x494675
test ecx, ecx
jae 0x494685
mov ecx, dword [esp + 0x10]
movsx eax, bx
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movzx eax, ax
inc eax
movzx eax, ax
mov ecx, dword [ecx]
movsx esi, ax
mov dword [esp + 0x3c], eax
lea edx, [esi*4 + 7]
and edx, 0xfffffff8
lea eax, [esi*4 + 9]
add eax, esi
mov dword [esp + 0x40], edx
and eax, 0xfffffff8
add edx, 0x48
add eax, edx
mov dword [esp + 0x44], eax
cdq
push edx
push eax
test ecx, ecx
je 0x4946d4
call fcn.00415d30
mov ebx, eax
mov dword [esp + 0x24], ebx
jmp 0x4946df
call fcn.00415750
mov ebx, eax
mov dword [esp + 0x24], eax
add esp, 8
test ebx, ebx
je 0x494e11
push dword [esp + 0x44]
push 0
push ebx
call fcn.004c04c0
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + 0x48]
mov dword [ebx + 0x20], eax
add esp, 0xc
add eax, dword [esp + 0x40]
xorps xmm0, xmm0
mov dword [ebx + 8], eax
movlpd qword [esp + 0x58], xmm0
lea eax, [eax + esi*2]
add eax, 2
mov dword [ebx + 4], eax
lea eax, [eax + esi*2]
mov esi, dword [esp + 0x50]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov word [ebx + 0x34], ax
movzx eax, cx
mov word [ebx + 0x32], ax
mov eax, dword [esp + 0x28]
mov dword [eax + 0x20], ebx
mov eax, dword [esp + 0x38]
mov dword [ebx], str.auto_index
mov dword [ebx + 0xc], eax
xor ebx, ebx
mov esi, dword [esi + 0x14]
cmp esi, dword [esp + 0x48]
jae 0x49489d
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
nop
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x49488c
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x49488c
test byte [edx + 0x24], 8
je 0x49479f
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x49479f
test cl, cl
js 0x49488c
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x49488c
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x49488c
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
call fcn.0044c0c0
test eax, eax
je 0x494889
mov eax, dword [esi + 0x1c]
xor edx, edx
movzx ecx, ax
mov dword [esp + 0x58], ecx
cmp eax, 0x40
jl 0x4947f5
mov eax, SysReAllocString
mov dword [esp + 0x40], eax
jmp 0x49480e
bts edx, eax
xor ecx, ecx
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
mov dword [esp + 0x40], ecx
mov eax, ecx
and eax, dword [esp + 0x44]
mov ecx, edx
and ecx, dword [esp + 0x3c]
or ecx, eax
jne 0x494889
mov eax, dword [esp + 0x44]
or eax, dword [esp + 0x40]
mov ecx, dword [esi]
or dword [esp + 0x3c], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 4]
mov word [eax + ebx*2], dx
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x58], eax
test dword [edx + 4], 0x100
jne 0x49486e
test eax, eax
je 0x49485d
test dword [eax + 4], 0x100
je 0x49485d
mov edx, eax
jmp 0x49486e
mov ecx, dword [esp + 0x18]
call fcn.0044bed0
test eax, eax
jne 0x494880
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
call fcn.0044bed0
mov ecx, 0x4f0bc8
test eax, eax
je 0x494882
mov ecx, dword [eax]
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
mov edx, dword [ebp + 8]
add esi, 0x30
cmp esi, dword [esp + 0x48]
jb 0x494770
mov edi, dword [esp + 0x20]
xor esi, esi
cmp dword [esp + 0x34], esi
jle 0x4948f0
mov edi, dword [esp + 0x1c]
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x24]
and ecx, dword [esp + 0x14]
or edx, ecx
je 0x4948e5
mov eax, dword [edi + 4]
mov word [eax + ebx*2], si
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], 0x4f0bc8
inc ebx
inc esi
cmp esi, dword [esp + 0x34]
jl 0x4948b0
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x494933
jl 0x494901
cmp dword [eax + 0x38], 0
jae 0x494933
mov esi, dword [esp + 0x38]
mov eax, 0x3f
mov edx, dword [esp + 0x1c]
cmp ax, word [esi + 0x2a]
jge 0x494937
mov ecx, eax
mov eax, dword [edx + 4]
mov word [eax + ebx*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + ebx*4], 0x4f0bc8
inc ebx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x494916
jmp 0x494937
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov esi, dword [ebp + 0x14]
mov word [eax + ebx*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [eax + ebx*4], 0x4f0bc8
mov eax, dword [ecx + 0x28]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
inc dword [ecx + 0x28]
mov esi, dword [esp + 0x10]
mov ecx, dword [edi + 0x6c]
inc esi
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
cmp dword [edi + 0x70], ecx
jg 0x49498b
push 0
push esi
push eax
mov edx, 0x70
mov ecx, edi
call fcn.00436f60
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4949be
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, eax
mov esi, dword [eax + 8]
call fcn.00463930
mov edx, eax
test edx, edx
je 0x4949fc
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4949ea
push edx
mov edx, 0xfffffff7
call fcn.00437920
add esp, 4
jmp 0x4949fc
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 0x2c]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x30], 0x10
lea esi, [eax + ecx*8]
mov dword [esp + 0x48], esi
je 0x494b0e
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
cmp dword [edi + 0x70], ecx
jg 0x494a53
push 0
push 0
push 0
mov edx, 0x46
mov ecx, edi
call fcn.00436f60
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x494a86
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x46
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 [edi + 0x6c]
mov esi, dword [esi + 0x20]
cmp dword [edi + 0x70], ecx
jg 0x494aaa
push esi
push 0
push edx
mov edx, 0xd
mov ecx, edi
call fcn.00436f60
mov edx, dword [esp + 0x5c]
add esp, 0xc
jmp 0x494ad9
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x494af9
push 0
push 0
push edx
mov edx, 0xe
mov ecx, edi
call fcn.00436f60
add esp, 0xc
mov esi, eax
jmp 0x494b64
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xe
jmp 0x494b44
mov esi, dword [edi + 0x6c]
mov edx, dword [edx + 4]
cmp dword [edi + 0x70], esi
jg 0x494b31
push 0
push 0
push edx
mov edx, 0x24
mov ecx, edi
call fcn.00436f60
add esp, 0xc
mov esi, eax
jmp 0x494b64
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x24
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x494b92
mov eax, dword [esp + 0x18]
push 0x10
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
push edx
push ecx
push eax
mov dword [esp + 0x3c], edx
call fcn.00453c80
mov eax, dword [esp + 0x38]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x13]
test al, al
jne 0x494ba5
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x494bb4
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x94]
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.004662e0
mov ecx, dword [edi + 0x6c]
add esp, 0x18
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
cmp dword [edi + 0x70], ecx
jg 0x494c02
mov edx, dword [esp + 0x38]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x84
call fcn.00436f60
add esp, 0xc
jmp 0x494c35
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
test ecx, ecx
jle 0x494c4f
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 0x10
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0x6c]
cmp dword [esp + 0x30], 0
je 0x494c83
mov edx, dword [edi + 0xc]
not dword [esp + 0x2c]
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x38]
jns 0x494c79
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
push edx
mov edx, edi
call fcn.00437560
add esp, 4
jmp 0x494c83
mov eax, dword [edx + 0x40]
mov edx, dword [esp + 0x2c]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x48]
test byte [eax + 0x30], 0x10
je 0x494d36
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jns 0x494c9d
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x494cac
mov ecx, 0x50cae8
jmp 0x494cb5
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x50]
mov edx, esi
add eax, ebx
mov ebx, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push dword [eax + 8]
push dword [ebx + 0x28]
push dword [eax + 4]
call fcn.00494290
mov ecx, dword [edi + 0x6c]
add esp, 0xc
cmp dword [edi + 0x70], ecx
jg 0x494d01
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.00436f60
add esp, 0xc
and dword [ebx + 0x30], 0xffffffef
jmp 0x494d8a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
and dword [ebx + 0x30], 0xffffffef
jmp 0x494d8a
mov eax, dword [ebp + 0x14]
lea edx, [esi + 1]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [eax + 4]
cmp dword [edi + 0x70], ecx
jg 0x494d5c
push 0
push edx
push ebx
mov edx, 5
mov ecx, edi
call fcn.00436f60
add esp, 0xc
jmp 0x494d8a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
lea edx, [esi + 1]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x6c]
test edx, edx
jle 0x494da4
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, 3
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [edi + 0x6c]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x494db3
mov eax, 0x50cae8
jmp 0x494dc4
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], edx
test ecx, ecx
je 0x494de7
mov edx, dword [esp + 0x18]
mov al, byte [edx + 0x13]
cmp al, 8
jae 0x494de7
movzx eax, al
mov dword [edx + eax*4 + 0x94], ecx
inc byte [edx + 0x13]
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x494df9
mov eax, 0x50cae8
jmp 0x494e0e
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x494e26
mov edx, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
call fcn.0044d010
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret