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

Disassembly:
sub esp, 0x60
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x4691f2
mov eax, dword [esp + 0x6c]
mov esi, dword [eax + 8]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
push esi
mov esi, dword [eax + 4]
push esi
mov esi, dword [esp + 0x7c]
push esi
push eax
mov eax, dword [edx + 0x1c]
call eax
pop edi
pop esi
add esp, 0x60
ret 0xc
mov esi, dword [esp + 0x6c]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push ebx
mov ebx, dword [esi + 0x10]
sub ebx, dword [esi + 8]
push ebp
mov ebp, dword [esp + 0x78]
mov edx, dword [ebp]
mov edx, dword [edx + 0x40]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call edx
mov eax, dword [eax + 4]
mov edx, dword [ebp]
mov edx, dword [edx + 0x48]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
mov dword [esp + 0x40], vtable.Dimension.0
call edx
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x48]
push edx
call eax
movzx eax, word [esp + 0x5c]
mov edx, dword [ebp]
shr eax, 3
mov dword [esp + 0x78], eax
movzx eax, word [esp + 0x48]
shr eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x60]
mov ecx, ebp
call eax
mov ecx, dword [esi + 8]
imul ecx, dword [esp + 0x74]
add ecx, dword [esi + 4]
mov ebp, eax
imul ecx, dword [esp + 0x78]
add ebp, ecx
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov ecx, dword [esi + 8]
mov edx, eax
mov eax, dword [esp + 0x74]
imul ecx, eax
add ecx, dword [esi + 4]
mov esi, dword [esp + 0x14]
imul ecx, esi
add edx, ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x74], edx
cmp ecx, 1
jne 0x469352
test ebx, ebx
jle 0x4694d4
sub eax, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov ecx, eax
imul ecx, dword [esp + 0x78]
imul eax, esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x18]
test ebx, ebx
jle 0x469339
mov dword [esp + 0x7c], ebx
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
movzx ebx, word [edx]
sar eax, 2
cmp ebx, eax
jb 0x4692fd
call fcn.00480e22
mov edx, dword [esp + 0x74]
mov ecx, dword [edi + 0x14]
mov ebx, dword [ecx + ebx*4]
cmp esi, 4
jne 0x46930d
mov dword [ebp], ebx
jmp 0x469320
cmp esi, 2
jne 0x469318
mov word [ebp], bx
jmp 0x469320
cmp esi, 1
jne 0x469320
mov byte [ebp], bl
add edx, dword [esp + 0x14]
add ebp, esi
sub dword [esp + 0x7c], 1
mov dword [esp + 0x74], edx
jne 0x4692e4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add edx, eax
add ebp, ecx
sub dword [esp + 0x10], 1
mov dword [esp + 0x74], edx
jne 0x4692d8
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x60
ret 0xc
cmp ecx, 2
jne 0x4694d4
mov cl, byte [esp + 0x6c]
cmp cl, byte [esp + 0x58]
movzx ecx, word [esp + 0x4c]
mov dword [esp + 0x2c], ecx
movzx ecx, word [esp + 0x4e]
mov dword [esp + 0x30], ecx
movzx ecx, word [esp + 0x50]
setne byte [esp + 0x7c]
mov dword [esp + 0x34], ecx
test ebx, ebx
jle 0x4694d4
mov esi, dword [esp + 0x18]
sub eax, esi
mov ecx, eax
imul ecx, dword [esp + 0x78]
imul eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ebx
lea esp, [esp]
test esi, esi
jle 0x4694c1
mov dword [esp + 0x24], esi
lea esp, [esp]
mov esi, dword [edx]
mov cl, byte [esp + 0x52]
mov eax, dword [edi + 0x30]
sub eax, dword [edi + 0x2c]
shr esi, cl
sar eax, 2
and esi, dword [esp + 0x2c]
cmp esi, eax
jb 0x4693e2
call fcn.00480e22
mov edx, dword [esp + 0x74]
mov ecx, dword [edi + 0x2c]
lea eax, [ecx + esi*4]
mov cl, byte [esp + 0x54]
mov esi, dword [edx]
shr esi, cl
mov ecx, dword [edi + 0x48]
sub ecx, dword [edi + 0x44]
mov dword [esp + 0x38], eax
and esi, dword [esp + 0x30]
sar ecx, 2
cmp esi, ecx
jb 0x46940e
call fcn.00480e22
mov edx, dword [esp + 0x74]
mov eax, dword [edi + 0x44]
mov cl, byte [esp + 0x56]
lea ebx, [eax + esi*4]
mov esi, dword [edx]
shr esi, cl
mov ecx, dword [edi + 0x60]
sub ecx, dword [edi + 0x5c]
and esi, dword [esp + 0x34]
sar ecx, 2
cmp esi, ecx
jb 0x469436
call fcn.00480e22
mov edx, dword [esp + 0x74]
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + esi*4]
or eax, dword [ebx]
mov ecx, dword [esp + 0x38]
or eax, dword [ecx]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x74], eax
cmp esi, 4
jne 0x46947e
cmp byte [esp + 0x7c], 0
mov dword [ebp], eax
je 0x4694a0
movzx ecx, byte [esp + 0x77]
mov byte [esp + 0x10], cl
movzx ecx, byte [esp + 0x76]
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], ah
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x10]
mov dword [ebp], eax
jmp 0x4694a0
cmp esi, 2
jne 0x469498
cmp byte [esp + 0x7c], 0
mov word [ebp], ax
je 0x4694a0
rol ax, 8
mov word [ebp], ax
jmp 0x4694a0
cmp esi, 1
jne 0x4694a0
mov byte [ebp], al
add edx, dword [esp + 0x14]
add ebp, esi
sub dword [esp + 0x24], 1
mov dword [esp + 0x74], edx
jne 0x4693c0
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add edx, eax
add ebp, ecx
sub dword [esp + 0x28], 1
mov dword [esp + 0x74], edx
jne 0x4693b0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x60
ret 0xc