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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x29d4
call fcn.10512080
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x29d0], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
push edi
push 0x410
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x1990]
push 0
push eax
mov dword [esp + 0x70], ebx
mov byte [esp + 0x1f], 0
call fcn.10513d40
push 0xc3c
lea eax, [esp + 0x1dac]
push 0
push eax
call fcn.10513d40
push 0x410
lea eax, [esp + 0x4d8]
push 0
push eax
call fcn.10513d40
push 0xc3c
lea eax, [esp + 0x8f4]
push 0
push eax
call fcn.10513d40
mov ebx, dword [ebp + 0x20]
add esp, 0x30
mov esi, dword [ebx]
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 4]
mov dword [esp + 0x4a8], edx
cmp esi, 1
jle 0x10248360
lea ecx, [esp + 0x4a8]
mov eax, ecx
sub edi, eax
dec esi
nop word [eax + eax]
mov eax, dword [ecx + edi]
lea ecx, [ecx + 4]
lea edx, [edx + eax*4]
mov dword [ecx], edx
sub esi, 1
jne 0x10248350
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push 0x1050
mov dword [esp + 0x80], eax
lea eax, [esp + 0x4bc]
push 0
push eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.10513d40
push 0x1050
lea eax, [esp + 0x1998]
push 0
push eax
call fcn.10513d40
mov edx, dword [esp + 0x70]
xor ecx, ecx
mov eax, dword [ebx + 8]
add esp, 0x18
mov dword [esp + 0x80], eax
mov dword [esp + 0x54], ecx
cmp dword [edx], ecx
jle 0x10248f3a
imul eax, ecx, 0x54
add eax, 0x14
add edx, eax
lea eax, [esp + 0x1988]
mov dword [esp + 0x1c], edx
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x20], esi
imul esi, esi, 0x414
add eax, esi
mov dword [esp + 0x18], esi
test ecx, ecx
jne 0x1024844f
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov dword [eax + 8], ebx
mov ebx, dword [ebp + 0x10]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [eax + 4], ecx
mov dword [eax + 0x10], ebx
test ecx, ecx
jle 0x10248440
mov ebx, dword [ebp + 8]
lea edi, [eax + 0x14]
test ebx, ebx
je 0x10248438
mov eax, dword [esp + 0x7c]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
lea ebx, [esp + 0x4b8]
mov edi, dword [esp + 0x50]
add ebx, esi
jmp 0x1024849d
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x7c]
lea ebx, [esp + 0x4b8]
add ebx, esi
jmp 0x1024849d
lea ebx, [esp + 0x4b8]
mov ecx, 0x105
add ebx, esi
lea edi, [esp + 0x1508]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, eax
mov ecx, 0x105
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x105
lea esi, [esp + 0x1508]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + esi + 0x1990]
mov eax, dword [esp + esi + 0x1994]
mov dword [esp + 0x50], edi
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x60]
push ecx
push edx
push eax
push edi
call fcn.10249c40
mov edi, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x44], ecx
cmp ecx, 0xffffffff
jne 0x10248583
mov eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x60]
push eax
push dword [edi + 0xc]
mov dword [esp + 0x90], eax
push ebx
call fcn.1024b000
add esp, 0x10
test al, al
jne 0x1024860d
mov bl, byte [esp + 0x13]
xor esi, esi
nop dword [eax + eax]
cmp dword [esp + esi + 0x1988], 0
je 0x1024852f
push dword [esp + esi + 0x199c]
call fcn.1006eaa0
add esp, 4
mov dword [esp + esi + 0x199c], 0
mov dword [esp + esi + 0x1988], 0
cmp dword [esp + esi + 0x4b8], 0
je 0x1024855e
push dword [esp + esi + 0x4cc]
call fcn.1006eaa0
add esp, 4
mov dword [esp + esi + 0x4cc], 0
mov dword [esp + esi + 0x4b8], 0
add esi, 0x414
cmp esi, 0x1050
jl 0x10248500
mov ecx, dword [esp + 0x29dc]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret
cmp dword [ebx], 0
je 0x102485a4
push dword [ebx + 0x14]
call fcn.1006eaa0
mov ecx, dword [esp + 0x48]
add esp, 4
mov dword [ebx + 0x14], 0
mov dword [ebx], 0
mov eax, dword [esp + 0x80]
mov edx, dword [edi + 0xc]
mov edi, dword [esp + ecx*4 + 0x4a8]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x84], ecx
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [ebx], 0
mov dword [ebx + 4], edx
mov dword [esp + 0x88], ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], eax
test edi, edi
je 0x10248600
xor ecx, ecx
test edx, edx
jle 0x1024860d
add ebx, 0x14
nop dword [eax]
mov eax, dword [edi + ecx*4]
lea ebx, [ebx + 4]
inc ecx
mov dword [ebx - 4], eax
cmp ecx, edx
jl 0x102485f0
jmp 0x1024860d
test edx, edx
jle 0x1024860d
lea edi, [ebx + 0x14]
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
cmp byte [eax + 0x30], 1
jne 0x1024863f
lea ecx, [esp + 0x4b8]
push ecx
push ebx
push eax
lea eax, [esp + 0x1994]
add eax, esi
push eax
call fcn.1024aeb0
add esp, 0x10
test al, al
je 0x102484f2
imul eax, dword [esp + 0x54], 0x54
mov esi, dword [esp + 0x58]
imul ecx, ebx, 0x414
imul edx, ebx, 0x414
imul edi, ebx, 0x414
cmp dword [eax + esi + 0x3c], 0
mov esi, dword [esp + 0x18]
jne 0x102489ab
mov eax, dword [esp + edx + 0x4c8]
mov edx, dword [esp + edi + 0x1998]
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + ecx + 0x1994]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
cmp dword [edi], 1
mov dword [esp + 0x2c], ebx
jle 0x1024896d
mov eax, dword [esp + ecx + 0x1990]
mov dword [esp + 0x30], eax
call fcn.101615a0
mov edx, dword [edi]
mov ecx, 0x20
cmp edx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], edx
cmovl ecx, edx
xor ebx, ebx
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x102487a8
lea ecx, [esp + 0x199c]
add ecx, esi
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x4cc]
add ecx, esi
lea esi, [esp + 0x1510]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov dword [esp + 0x28], ecx
jmp 0x102486fa
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x64]
mov edi, dword [edi + 4]
mov eax, dword [eax + 4]
add edi, ecx
push edi
call eax
mov ecx, dword [esp + 0x28]
lea eax, [esi - 8]
mov dword [eax], ecx
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esi - 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ecx
mov dword [edi + 0x10], eax
lea eax, [ecx - 1]
mov dword [edi + 0xc], 0x1024a000
mov dword [edi + 0x14], 0
push edi
mov edi, dword [esp + 0x1c]
cmp ebx, eax
jne 0x10248766
mov eax, dword [edi + 0x10]
jmp 0x10248769
mov eax, dword [edi + 0xc]
call eax
mov ecx, dword [esp + 0x2c]
inc ebx
add ecx, 0x1c
add esp, 4
add esi, 0x24
mov dword [esp + 0x28], ecx
cmp ebx, dword [esp + 0x14]
jl 0x102486f2
mov ebx, dword [esp + 0x64]
xor esi, esi
nop dword [eax]
mov eax, dword [ebx + 4]
add eax, esi
push eax
mov eax, dword [edi + 8]
call eax
add esp, 4
add esi, 0x1c
sub dword [esp + 0x14], 1
jne 0x10248790
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp byte [edi + 0x30], 2
jne 0x102487e0
lea eax, [esp + 0x4b8]
push eax
imul eax, ebx, 0x414
lea ecx, [esp + 0x4bc]
push ebx
push edi
add eax, ecx
push eax
call fcn.1024aeb0
add esp, 0x10
test al, al
je 0x102484f2
cmp byte [edi + 0x31], 1
jne 0x10248ab5
imul esi, ebx, 0x414
xor edx, edx
mov ecx, 1
mov dword [esp + 0x40], edx
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], esi
nop dword [eax]
test dword [edi + 0x3c], ecx
je 0x10248a96
cmp edx, ebx
je 0x10248a96
mov edx, dword [esp + esi + 0x4bc]
mov ecx, dword [esp + esi + 0x4c8]
mov ebx, dword [esp + esi + 0x4c4]
mov edi, dword [esp + esi + 0x4c0]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x4cc]
add esi, edx
mov dword [esp + 0x34], ecx
xor edx, edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], edx
cmp dword [esp + 0x38], edx
jle 0x10248a82
mov eax, dword [esp + 0x38]
nop
test ebx, ebx
jle 0x10248a6a
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov ecx, 8
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x2c], eax
nop
xor eax, eax
cmp edi, 4
jl 0x102489f2
mov esi, dword [esi]
add edi, 0xfffffffc
mov ebx, dword [esp + 0x18]
mov eax, 4
add ebx, edx
mov dword [esp + 0x8c], ecx
sub eax, esi
shr edi, 2
lea edx, [ecx + esi]
mov dword [esp + 0x6c], eax
mov ecx, 0xfffffff8
mov dword [esp + 0x4c], esi
sub ecx, esi
mov esi, dword [esp + 0x8c]
inc edi
mov dword [esp + 0x70], ecx
lea eax, [edi*4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + ebx*4 + 0x4cc]
add ecx, edx
movss xmm0, dword [ecx + eax]
addss xmm0, dword [edx - 8]
movss dword [edx - 8], xmm0
mov eax, dword [esp + ebx*4 + 0x4cc]
movss xmm0, dword [ecx + eax + 4]
addss xmm0, dword [edx - 4]
mov ecx, dword [esp + 0x6c]
add ecx, edx
movss dword [edx - 4], xmm0
mov eax, dword [esp + ebx*4 + 0x4cc]
movss xmm0, dword [esi + eax]
add esi, 0x10
addss xmm0, dword [edx]
movss dword [edx], xmm0
mov eax, dword [esp + ebx*4 + 0x4cc]
movss xmm0, dword [ecx + eax]
addss xmm0, dword [edx + 4]
mov ecx, dword [esp + 0x70]
movss dword [edx + 4], xmm0
add edx, 0x10
sub edi, 1
jne 0x102488e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x14]
cmp eax, dword [esp + 0x78]
jl 0x102489f8
jmp 0x10248a32
mov edi, dword [esp + 0x1c]
push 1
push 0
push eax
lea eax, [esp + 0x4d8]
add eax, esi
push eax
push edi
push edx
push ebx
mov ebx, dword [esp + 0x3c]
imul eax, ebx, 0x414
push dword [esp + eax + 0x19ac]
lea eax, [esp + 0x19bc]
add eax, esi
push eax
call fcn.10247770
add esp, 0x24
jmp 0x102487b0
push dword [esp + edx + 0x4c8]
lea eax, [esp + 0x4d0]
add eax, esi
push eax
push dword [esp + 0x24]
imul eax, ebx, 0x414
push dword [esp + edi + 0x19a4]
push dword [esp + ecx + 0x19a4]
push dword [esp + eax + 0x19a4]
lea eax, [esp + 0x19b4]
add eax, esi
push eax
call fcn.10247bd0
add esp, 0x1c
jmp 0x102487ac
test edi, edi
jle 0x10248a3a
mov esi, dword [esi]
mov edi, dword [esp + 0x18]
lea ecx, [ebx + eax]
add edi, edx
shl ecx, 2
mov edx, dword [esp + 0x78]
sub edx, eax
nop word [eax + eax]
mov eax, dword [esp + edi*4 + 0x4cc]
movss xmm0, dword [ecx + eax]
addss xmm0, dword [ecx + esi]
movss dword [ecx + esi], xmm0
add ecx, 4
sub edx, 1
jne 0x10248a10
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x34]
add ebx, dword [esp + 0x34]
mov dword [esp + 0x68], ebx
lea eax, [edi*4]
mov edi, dword [esp + 0x78]
add ecx, eax
sub dword [esp + 0x2c], 1
mov dword [esp + 0x74], ecx
jne 0x10248890
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
inc edx
add esi, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], esi
cmp edx, eax
jl 0x10248870
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add eax, 0x105
rol ecx, 1
inc edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x28], ecx
cmp eax, 0x414
jl 0x10248810
mov cl, byte [edi + 0x25]
test cl, cl
je 0x10248be3
imul eax, ebx, 0x414
mov eax, dword [esp + eax + 0x4c8]
mov dword [esp + 0x4c], eax
imul eax, ebx, 0x414
mov edi, dword [esp + eax + 0x4c4]
imul eax, ebx, 0x414
mov dword [esp + 0x6c], edi
mov edx, dword [esp + eax + 0x4c0]
imul eax, ebx, 0x414
mov dword [esp + 0x70], edx
mov esi, dword [esp + eax + 0x4bc]
imul eax, ebx, 0x414
lea ebx, [esp + 0x4cc]
mov dword [esp + 0x28], esi
add ebx, eax
movzx eax, cl
cmp eax, 3
ja case.0x10248b1b.3
jmp dword [eax*4 + 0x10248f44]
mov dword [esp + 0x14], 0x1024aff0
jmp 0x10248b48
mov dword [esp + 0x14], 0x1024b0a0
jmp 0x10248b48
mov dword [esp + 0x14], 0x1024b0c0
jmp 0x10248b48
mov dword [esp + 0x14], 0
test esi, esi
jle 0x10248be3
test edi, edi
jle 0x10248bd3
mov eax, dword [esp + 0x4c]
xor ecx, ecx
shl eax, 2
mov dword [esp + 0x24], eax
mov eax, edi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
nop
test edx, edx
jle 0x10248bbc
mov eax, dword [ebx]
mov esi, ecx
mov edi, edx
nop word [eax + eax]
movss xmm0, dword [eax + esi]
push ecx
movss dword [esp], xmm0
call dword [esp + 0x18]
mov eax, dword [ebx]
lea esi, [esi + 4]
fstp dword [esp + 0x4c]
movss xmm0, dword [esp + 0x4c]
add esp, 4
movss dword [eax + esi - 4], xmm0
sub edi, 1
jne 0x10248b80
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x24]
add ecx, esi
sub eax, 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
jne 0x10248b70
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x6c]
add ebx, 4
sub esi, 1
mov dword [esp + 0x28], esi
jne 0x10248b50
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x10248c48
push dword [ebx + 0x4c]
lea ecx, [esp + 0x4d0]
push dword [ebx + 0x48]
push dword [ebx + 0x44]
push eax
imul eax, edi, 0x414
push dword [esp + eax + 0x4d8]
imul eax, edi, 0x414
push dword [esp + eax + 0x4d8]
imul eax, edi, 0x414
push dword [esp + eax + 0x4d8]
imul eax, edi, 0x414
push dword [esp + eax + 0x4d8]
imul eax, edi, 0x414
add eax, ecx
push eax
call fcn.102475a0
add esp, 0x24
cmp byte [ebx + 0x31], 2
jne 0x10248ef0
mov esi, dword [esp + 0x44]
imul edx, edi, 0x414
mov dword [esp + 0x48], edx
cmp esi, 0xffffffff
jne 0x10248dbd
xor ecx, ecx
lea esi, [esp + 0x4b8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], esi
nop word [eax + eax]
mov eax, 1
shl eax, cl
test dword [ebx + 0x3c], eax
je 0x10248da0
cmp ecx, edi
je 0x10248da0
mov edi, dword [esi + 4]
lea ebx, [esp + 0x4b8]
add ebx, edx
mov eax, dword [ebx + 4]
add edi, eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 8]
imul eax, dword [ebx + 0xc]
mov dword [esp + 0x44], edi
imul eax, edi
cmp dword [ebx], eax
jge 0x10248d4d
push 0x414
lea eax, [esp + 0x94]
push 0
push eax
call fcn.10513d40
push dword [ebx + 0xc]
lea eax, [esp + 0xa0]
push dword [ebx + 8]
push edi
push eax
call fcn.1024b000
add esp, 0x1c
test al, al
je 0x102484f2
lea eax, [esp + 0x90]
push eax
push 0
push dword [ebx + 4]
push ebx
call fcn.1024af20
mov ecx, 0x105
lea edi, [esp + 0x1518]
mov esi, ebx
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x1508], 0
lea esi, [esp + 0x90]
mov ecx, 0x105
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
je 0x10248d45
push dword [esp + 0x151c]
call fcn.1006eaa0
add esp, 4
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x44]
mov edx, 1
cmp edi, edx
jle 0x10248d7f
lea esi, [ebx + 0x18]
nop dword [eax]
mov ecx, dword [ebx + 8]
lea esi, [esi + 4]
mov eax, dword [ebx + 0x14]
imul ecx, edx
inc edx
imul ecx, dword [ebx + 0xc]
lea eax, [eax + ecx*4]
mov dword [esi - 4], eax
cmp edx, edi
jl 0x10248d60
mov esi, dword [esp + 0x18]
push ebx
push dword [esp + 0x50]
push dword [esi + 4]
push esi
call fcn.1024af20
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
inc ecx
add esi, 0x414
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], esi
cmp ecx, 4
jl 0x10248c80
jmp 0x10248ef0
mov ecx, dword [esp + edx + 0x4bc]
mov edx, ecx
mov ebx, dword [ebx + 0x3c]
mov dword [esp + 0x14], ecx
test bl, 1
je 0x10248ddf
test edi, edi
je 0x10248ddf
mov edx, dword [esp + 0x4bc]
add edx, ecx
test bl, 2
je 0x10248df0
cmp edi, 1
je 0x10248df0
add edx, dword [esp + 0x8d0]
test bl, 4
je 0x10248e01
cmp edi, 2
je 0x10248e01
add edx, dword [esp + 0xce4]
test bl, 8
je 0x10248e12
cmp edi, 3
je 0x10248e12
add edx, dword [esp + 0x10f8]
mov eax, dword [esp + 0x80]
mov edi, dword [esp + esi*4 + 0x4a8]
mov ebx, dword [esp + 0x84]
mov eax, dword [eax + esi*4]
imul esi, dword [esp + 0x20], 0x414
mov dword [esp + esi + 0x4c0], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + esi + 0x4b8], 0
mov dword [esp + esi + 0x4bc], edx
mov dword [esp + esi + 0x4c4], ebx
mov dword [esp + esi + 0x4c8], eax
test edi, edi
je 0x10248e81
xor ecx, ecx
test edx, edx
jle 0x10248e92
lea esi, [esp + esi + 0x4cc]
mov eax, dword [edi + ecx*4]
lea esi, [esi + 4]
inc ecx
mov dword [esi - 4], eax
cmp ecx, edx
jl 0x10248e71
jmp 0x10248e92
test edx, edx
jle 0x10248e96
lea edi, [esp + esi + 0x4cc]
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x4bc]
xor ebx, ebx
mov esi, 1
test dword [eax + 0x3c], esi
je 0x10248ee2
mov eax, dword [esp + 0x20]
cmp ebx, eax
je 0x10248ede
imul eax, eax, 0x414
lea edx, [esp + 0x4b8]
add eax, edx
push eax
push ecx
push dword [edi]
lea eax, [edi - 4]
push eax
call fcn.1024af20
mov ecx, dword [esp + 0x24]
add esp, 0x10
add ecx, dword [edi]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
inc ebx
rol esi, 1
add edi, 0x414
cmp ebx, 4
jl 0x10248ea8
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x30], 3
jne 0x10248f21
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x4b8]
push ecx
push esi
push eax
imul eax, esi, 0x414
add eax, ecx
push eax
call fcn.1024aeb0
add esp, 0x10
test al, al
je 0x102484f2
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
inc ecx
mov edi, dword [esp + 0x50]
mov dword [esp + 0x54], ecx
cmp ecx, dword [edx]
jl 0x102483c8
mov bl, 1
jmp 0x102484f6