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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x4ec070]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, ecx
mov byte [esp + 7], 0
mov ecx, dword [ebp + 8]
push ebx
mov dword [esp + 0x1c], ecx
mov ebx, dword [eax + 8]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, edx
mov dword [esp + 0x3c], ecx
mov edx, dword [ebx + 0x6c]
xor ecx, ecx
push edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x6c], edx
cmp dword [ebx + 0x70], edx
jg 0x49033b
push ecx
push ecx
push ecx
lea edx, [ecx + 0x11]
mov ecx, ebx
call fcn.00433f60
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x49036e
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x11
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 ebx, dword [esp + 0x24]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x40]
xor edi, edi
mov esi, dword [esi + 0x14]
movlpd qword [esp + 0x48], xmm0
mov eax, dword [ebx + 0x10]
mov ecx, dword [ecx + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x60], eax
cmp esi, eax
jae 0x49060d
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], eax
nop dword [eax]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
mov edi, dword [esi]
jne 0x490452
test byte [esi + 0xa], 2
jne 0x490452
test byte [edi + 4], 1
jne 0x490452
mov eax, 3
mov dword [esp + 0x74], fcn.0044d120
mov word [esp + 0x84], ax
lea ecx, [esp + 0x70]
mov eax, dword [ebx + 0x2c]
mov edx, edi
mov dword [esp + 0x78], 0x44cfb0
mov dword [esp + 0x88], eax
call fcn.004480b0
cmp word [esp + 0x84], 0
je 0x49044a
mov ebx, dword [esp + 0x18]
mov edx, edi
push 0
push 0
mov ecx, dword [ebx]
call fcn.0044bf00
mov edx, dword [esp + 0x60]
mov ecx, ebx
push eax
call fcn.0044b9d0
mov ebx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x14]
cmp eax, dword [ebx + 0x2c]
jne 0x4905f6
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4905f2
test byte [ebx + 0x24], 8
je 0x490481
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x490481
test cl, cl
js 0x4905f2
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4905f2
mov eax, dword [esi + 0x18]
test eax, eax
js 0x4905f2
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 4]
mov bl, byte [eax + ecx*4 + 0xd]
mov ecx, dword [esi]
call fcn.0044ae90
cmp al, 0x42
jl 0x4904d4
jne 0x4904c4
xor eax, eax
cmp bl, 0x42
sete al
jmp 0x4904cc
xor eax, eax
cmp bl, 0x43
setge al
test eax, eax
je 0x4905ea
mov ecx, dword [esi + 0x18]
xor edi, edi
cmp ecx, 0x40
jl 0x4904e5
mov ebx, 0x80000000
jmp 0x4904fa
mov eax, ecx
xor ebx, ebx
bts edi, eax
cmp eax, 0x20
cmovae ebx, edi
xor edi, ebx
cmp eax, 0x40
cmovae ebx, edi
cmp byte [esp + 0x13], 0
jne 0x490527
mov edx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.00414780
add esp, 0x10
mov byte [esp + 0x13], 1
mov edx, dword [esp + 0x2c]
mov ecx, edi
and ecx, dword [esp + 0x3c]
mov eax, ebx
and eax, edx
or ecx, eax
jne 0x4905ee
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
movzx eax, word [edx + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
cmp eax, edx
jge 0x4905c3
lea eax, [edx + 7]
and eax, 0xfffffff8
mov dword [esp + 0x44], eax
shl eax, 2
push 0
push eax
call fcn.004121b0
add esp, 8
mov dword [esp + 0x5c], eax
test eax, eax
je 0x490e8f
mov edx, dword [esp + 0x1c]
movzx ecx, word [edx + 0x2c]
shl ecx, 2
push ecx
push dword [edx + 0x30]
push eax
call fcn.004b1150
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [ecx + 0x30]
lea eax, [ecx + 0x38]
cmp edx, eax
je 0x4905ae
mov ecx, dword [esp + 0x38]
call fcn.00411e10
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x44]
mov word [ecx + 0x2c], ax
jmp 0x4905c7
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x30]
inc edx
mov ecx, dword [esp + 0x28]
inc dword [esp + 0x28]
or dword [esp + 0x3c], edi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
or edx, ebx
mov dword [eax + ecx*4], esi
mov dword [esp + 0x2c], edx
jmp 0x4905ee
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esi, 0x30
cmp esi, dword [esp + 0x60]
jb 0x4903d0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
jmp 0x490611
mov esi, dword [esp + 0x48]
mov word [ecx + 0x28], di
not esi
mov word [ecx + 0x18], di
not edx
mov dword [ecx + 0x24], 0x4241
or edx, 0x80000000
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 0x38]
and esi, eax
mov ebx, dword [ebx + 0x3c]
and edx, ebx
mov dword [esp + 0x3c], esi
xor esi, esi
movzx edi, word [ecx + 0x2a]
mov ecx, 0x3f
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], edi
cmp cx, di
jge 0x490662
mov dword [esp + 0x5c], ecx
jmp 0x49066d
movsx ecx, di
mov dword [esp + 0x5c], ecx
test ecx, ecx
jle 0x4906ab
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x2c]
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 + 0x3c]
and ecx, edi
or edx, ecx
je 0x49069a
inc dword [esp + 0x28]
inc esi
cmp esi, ebx
jl 0x490675
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
test ebx, ebx
jg 0x4906c5
jl 0x4906b5
test eax, eax
jae 0x4906c5
mov ecx, dword [esp + 0x28]
movsx eax, di
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x38]
mov esi, dword [esp + 0x18]
push eax
push 0
lea edx, [edx + 1]
mov ecx, dword [esi]
call fcn.0045edb0
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x490e93
mov edx, dword [esp + 0x1c]
xor ebx, ebx
mov ecx, dword [esp + 0x34]
xorps xmm0, xmm0
mov dword [esp + 0x20], ebx
movlpd qword [esp + 0x48], xmm0
mov dword [edx + 0x20], eax
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x64]
mov edi, dword [eax + 0x14]
mov dword [esp + 0x44], edi
cmp edi, dword [esp + 0x60]
jae 0x49090b
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
nop dword [eax]
mov eax, dword [edi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x4908fa
movzx ecx, word [edi + 0xc]
test cl, 0x82
je 0x4908fa
test byte [edx + 0x24], 8
je 0x49076f
mov eax, dword [edi]
test byte [eax + 4], 1
jne 0x49076f
test cl, cl
js 0x4908fa
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4908fa
mov eax, dword [edi + 0x18]
test eax, eax
js 0x4908fa
mov esi, dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*4 + 0xd]
mov ecx, dword [esi + 0xc]
mov byte [esp + 0x13], al
call fcn.0044aac0
mov ecx, dword [esi + 0x10]
mov bl, al
test ecx, ecx
je 0x4907ec
call fcn.0044aac0
cmp al, 0x40
jle 0x490814
cmp bl, 0x40
jle 0x49080c
cmp al, 0x43
jge 0x4907c9
cmp bl, 0x43
jl 0x4907db
xor eax, eax
cmp byte [esp + 0x13], 0x43
setge al
test eax, eax
je 0x4908f2
mov eax, dword [edi + 0x18]
xor edx, edx
cmp eax, 0x40
jl 0x490833
mov esi, 0x80000000
jmp 0x490846
test dword [esi + 4], 0x800
je 0x49081c
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 4]
call fcn.0044aac0
cmp al, 0x40
jle 0x490814
cmp bl, 0x40
jg 0x4907c0
movsx ebx, al
or bl, 0x40
jmp 0x490820
movsx ebx, bl
or bl, 0x40
jmp 0x490820
test bl, bl
je 0x4907db
cmp bl, 0x42
jl 0x4907db
jne 0x4907c9
xor eax, eax
cmp byte [esp + 0x13], 0x42
sete al
jmp 0x4907d3
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
cmovae esi, edx
mov ebx, dword [esp + 0x38]
mov ecx, edx
and ecx, dword [esp + 0x48]
mov eax, esi
and eax, ebx
or ecx, eax
jne 0x4908f2
mov ecx, dword [esp + 0x30]
or ebx, esi
mov eax, dword [esp + 0x44]
mov edi, dword [edi]
or dword [esp + 0x48], edx
mov ecx, dword [ecx + 4]
mov ax, word [eax + 0x18]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x20]
mov word [ecx + ebx*2], ax
test dword [edi + 4], 0x200
je 0x490890
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
jmp 0x490896
mov esi, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
test dword [edx + 4], 0x100
je 0x4908a5
mov ecx, dword [esp + 0x18]
jmp 0x4908cb
test esi, esi
je 0x4908b8
test dword [esi + 4], 0x100
je 0x4908b8
mov ecx, dword [esp + 0x18]
jmp 0x4908c9
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.0044ac70
test eax, eax
jne 0x4908d4
mov ecx, edi
mov edx, esi
call fcn.0044ac70
test eax, eax
je 0x4908d8
mov ecx, dword [eax]
jmp 0x4908dd
mov ecx, 0x4dcac8
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
mov eax, dword [eax + 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [esp + 0x20], ebx
jmp 0x4908f6
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add edi, 0x30
mov dword [esp + 0x44], edi
cmp edi, dword [esp + 0x60]
jb 0x490740
mov edi, dword [esp + 0x5c]
xor esi, esi
test edi, edi
jle 0x490957
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 + 0x3c]
and ecx, dword [esp + 0x2c]
or edx, ecx
je 0x49094e
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
mov word [eax + ebx*2], si
mov eax, dword [ecx + 0x20]
mov dword [eax + ebx*4], 0x4dcac8
inc ebx
inc esi
cmp esi, edi
jl 0x490915
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x3c], 0
jg 0x4909a1
jl 0x490969
cmp dword [ecx + 0x38], 0
jae 0x4909a1
mov esi, dword [esp + 0x34]
mov eax, 0x3f
mov edx, dword [esp + 0x30]
cmp ax, word [esi + 0x2a]
jge 0x4909a5
mov ecx, eax
nop
mov eax, dword [edx + 4]
mov word [eax + ebx*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + ebx*4], 0x4dcac8
inc ebx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x490980
mov dword [esp + 0x20], ebx
jmp 0x4909a5
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov edi, dword [esp + 0x18]
mov word [eax + ebx*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
inc edx
mov dword [eax + ebx*4], 0x4dcac8
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x28]
mov dword [ecx + 8], eax
inc dword [edi + 0x28]
mov esi, dword [ecx + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4909f3
push 0
push edx
push esi
mov edx, 0x63
mov ecx, ebx
call fcn.00433f60
add esp, 0xc
jmp 0x490a1e
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x63
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 edx, dword [esp + 0x30]
mov ecx, edi
mov esi, dword [edi + 8]
call fcn.00461530
mov edx, eax
test edx, edx
je 0x490a5c
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x490a4a
push edx
mov edx, 0xfffffff7
call fcn.00434d50
add esp, 4
jmp 0x490a5c
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 [esp + 0x40]
movzx eax, byte [edx + 0x34]
lea edi, [eax + eax*8]
mov eax, dword [esp + 0x64]
lea edi, [edi + 1]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + edi*8 + 0x28], 0x10
lea edi, [eax + edi*8]
mov dword [esp + 0x34], edi
je 0x490b70
mov esi, dword [esp + 0x14]
mov ebx, dword [edi + 0x1c]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x68], ecx
cmp dword [esi + 0x70], ecx
jg 0x490ab3
push 0
push 0
push 0
mov edx, 0x45
mov ecx, esi
call fcn.00433f60
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x490ae6
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x18]
cmp dword [esi + 0x70], ecx
jg 0x490b06
push edx
push 0
push ebx
mov edx, 0xd
mov ecx, esi
call fcn.00433f60
add esp, 0xc
jmp 0x490b31
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x6c]
cmp dword [ecx + 0x70], esi
jg 0x490b53
push 0
push 0
push ebx
mov edx, 0xe
call fcn.00433f60
add esp, 0xc
mov esi, eax
jmp 0x490bc2
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], ebx
jmp 0x490baa
mov esi, dword [ebx + 0x6c]
mov edx, dword [edx + 4]
cmp dword [ebx + 0x70], esi
jg 0x490b93
push 0
push 0
push edx
mov edx, 0x25
mov ecx, ebx
call fcn.00433f60
add esp, 0xc
mov esi, eax
jmp 0x490bc2
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x490bf0
dec dword [ebx + 0x38]
mov ecx, dword [ebx + 0x38]
push 0x10
push ecx
push eax
push ebx
mov dword [esp + 0x64], ecx
call fcn.004524b0
mov eax, dword [esp + 0x2c]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov al, byte [ebx + 0x13]
test al, al
jne 0x490bff
inc dword [ebx + 0x2c]
mov ebx, dword [ebx + 0x2c]
jmp 0x490c0e
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov ebx, dword [ebx + eax*4 + 0x98]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push 0
push 0
push 0
push 0
push ebx
push dword [ecx + 4]
mov ecx, dword [esp + 0x30]
call fcn.004637b0
mov dword [esp + 0x50], eax
add esp, 0x18
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x490c5a
push 0
push ebx
push edx
mov edx, 0x83
mov ecx, eax
call fcn.00433f60
add esp, 0xc
jmp 0x490c8f
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, edi
mov edi, dword [esp + 0x34]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x490cae
lea ecx, [eax + eax*4]
mov edi, 0x10
mov eax, dword [edx + 0x68]
mov word [eax + ecx*4 - 0x12], di
mov edi, dword [esp + 0x34]
cmp dword [esp + 0x58], 0
je 0x490ce7
mov ecx, dword [edx + 0xc]
not dword [esp + 0x54]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x490cd6
push dword [esp + 0x54]
call fcn.00434800
mov edx, dword [esp + 0x18]
add esp, 4
jmp 0x490ce7
mov edi, dword [esp + 0x54]
mov ecx, dword [ecx + 0x40]
mov eax, dword [edx + 0x6c]
mov dword [ecx + edi*4], eax
mov edi, dword [esp + 0x34]
test byte [edi + 0x28], 0x10
je 0x490da3
mov ecx, dword [esp + 0x68]
test ecx, ecx
jns 0x490cfd
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x490d0c
mov ecx, 0x4ef6a4
jmp 0x490d15
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x38]
mov edx, esi
add eax, dword [esp + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
push dword [eax + 8]
push dword [edi + 0x20]
push dword [eax + 4]
call fcn.004901b0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x490d6a
mov ecx, dword [esp + 0x14]
mov edx, 0xb
push 0
push esi
push 0
call fcn.00433f60
add esp, 0xc
and dword [edi + 0x28], 0xffffffef
mov edi, dword [esp + 0x14]
jmp 0x490e1f
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 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 [edi + 0x28], 0xffffffef
mov edi, dword [esp + 0x14]
jmp 0x490e1f
mov eax, dword [esp + 0x40]
lea edx, [esi + 1]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x490dd0
push 0
push edx
push edi
mov edi, eax
mov edx, 5
mov ecx, edi
call fcn.00433f60
add esp, 0xc
jmp 0x490e08
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x6c], eax
mov eax, edx
lea edx, [esi + 1]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x490e1f
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [edi + 0x6c]
test esi, esi
jns 0x490e29
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x490e38
mov eax, 0x4ef6a4
jmp 0x490e41
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x18]
mov dword [eax + 8], edx
test ebx, ebx
je 0x490e60
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x490e60
movzx eax, al
mov dword [esi + eax*4 + 0x98], ebx
inc byte [esi + 0x13]
mov ecx, dword [esp + 0x6c]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x490e6e
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x490e80
mov eax, 0x4ef6a4
mov dword [eax + 8], edx
jmp 0x490e93
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x490e93
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x490ea4
mov ecx, dword [esi]
mov edx, eax
call fcn.0044bcc0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ae965
mov esp, ebp
pop ebp
ret