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

Disassembly:
push 0xffffffffffffffff
push 0x54f76b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x54]
push ebx
mov dword [esp + 0x24], esi
call fcn.00436310
push 0xffffffffffffffff
lea ecx, [esi + 0x68]
push ebx
call fcn.00436470
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x7c]
call fcn.00436610
mov dword [esi + 0x30], ebx
mov dword [esp + 0x6c], 0x557790
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x6c]
push edx
push 0x12
mov eax, dword [ecx]
mov dword [esp + 0x2a4], ebx
call dword [eax + 0xb0]
mov esi, dword [esp + 0x74]
lea eax, [esi*4]
push eax
call fcn.00481156
mov edi, eax
add esp, 4
xor eax, eax
cmp esi, ebx
jle 0x41b368
mov ecx, dword [esp + 0x70]
inc eax
cmp eax, esi
mov edx, dword [ecx + eax*4 - 4]
mov dword [edi + eax*4 - 4], edx
jl 0x41b357
mov eax, dword [0x554068]
lea ecx, [esi - 1]
push eax
push ecx
push ebx
push edi
call fcn.004102e0
add esp, 0x10
xor eax, eax
cmp esi, ebx
jle 0x41b391
mov ecx, dword [esp + 0x70]
mov edx, dword [edi + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, esi
jl 0x41b382
push edi
call fcn.004812ac
mov eax, dword [esp + 0x78]
add esp, 4
fld dword [0x5593e4]
cmp eax, ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x50], ebx
jle 0x41bf16
push ebp
mov ebp, dword [esp + 0x20]
fstp st(0)
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x54]
mov esi, dword [edx + eax*4]
mov eax, dword [esi + 0xdaac]
mov ebx, dword [eax + 0x123a4]
fld dword [ebx + 0x8760]
fmul dword [0x55778c]
mov ecx, dword [ebx + 0x8640]
mov edx, dword [ebx + 0x8758]
mov edi, dword [ebx + 0x8768]
mov dword [esp + 0x1c], edx
test ecx, ecx
fstp dword [esp + 0x18]
mov dword [esp + 0x14], ecx
je 0x41b426
xor edi, edi
mov ecx, dword [ebx + 0x57a0]
fld dword [ebx + 0x7c]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0x57a4]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0xda98]
fld dword [esp + 0x64]
fadd dword [esp + 0x60]
mov dword [esp + 0x88], ecx
mov ecx, dword [esi + 0xda9c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esi + 0xdaa0]
fadd st(1)
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0xdaa4]
test ecx, ecx
fstp dword [esp + 0x30]
fstp st(0)
je 0x41b485
mov eax, dword [eax + 0x12360]
mov dword [esp + 0x6c], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [ebx + 0x8764]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0xd61c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xd62c]
mov dword [esp + 0x84], ecx
mov ecx, dword [esi + 0xd63c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xd30c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0xd34c]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xd3d8]
test edx, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], eax
jne 0x41b4ec
mov ecx, dword [0x554180]
cmp dword [ecx + 0xc4], 1
jne 0x41b4ec
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x90]
call fcn.0043d020
mov eax, dword [ebx + 0x78]
cmp eax, 7
jne 0x41b512
mov dword [esp + 0x110], 3
mov ecx, 1
jmp 0x41b526
mov ecx, 1
cmp eax, ecx
jne 0x41b526
mov dword [esp + 0x110], 4
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], edi
jne 0x41b5d2
mov dword [esp + 0xfc], ecx
mov eax, dword [ebx + 0x8760]
mov dword [esp + 0x100], eax
mov edx, dword [ebx + 0x875c]
fld dword [esp + 0x100]
fmul dword [0x55778c]
mov dword [esp + 0x104], edx
fld dword [esp + 0x104]
fmul dword [0x55778c]
fstp dword [esp + 0x10]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x41b5c5
fstp dword [esp + 0xa4]
jmp 0x41b5d2
mov eax, dword [esp + 0x10]
fstp st(0)
mov dword [esp + 0xa4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x108], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x10c], eax
mov dword [esp + 0xe8], edx
mov dword [esp + 0xe4], ecx
mov eax, dword [esi + 0xdaa4]
test eax, eax
jne 0x41b62e
mov esi, dword [esi + 0xdaac]
mov ecx, esi
mov eax, dword [esi + 0x12360]
push eax
push esi
call 0x79d669
cmp eax, 1
jne 0x41b62e
mov ecx, dword [esp + 0xe4]
neg ecx
mov dword [esp + 0xe4], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41b666
fld dword [0x5593e4]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x34], 0
jmp 0x41b66d
fld dword [esp + 0x84]
fst dword [esp + 0x12c]
fld dword [esp + 0x38]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
fcomp dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x130], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x140], eax
fnstsw ax
mov dword [esp + 0x148], ecx
mov dword [esp + 0x158], edx
test ah, 0x41
je 0x41b6c2
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41b6d5
fstp dword [esp + 0x24]
jmp 0x41b6d7
fstp st(0)
fld dword [esp + 0x24]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
je 0x41b6ee
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
fld dword [esp + 0x24]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x41b707
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
jmp 0x41b70f
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x68], ecx
fld dword [esp + 0x50]
fabs
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41b728
fstp dword [esp + 0x28]
jmp 0x41b72a
fstp st(0)
fld dword [esp + 0x3c]
fabs
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41b743
fstp dword [esp + 0x28]
jmp 0x41b745
fstp st(0)
fld dword [esp + 0x58]
fabs
fld dword [esp + 0x40]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41b75e
fstp dword [esp + 0x40]
jmp 0x41b760
fstp st(0)
fld dword [esp + 0x48]
fcomp dword [esp + 0x5c]
fnstsw ax
test ah, 0x41
je 0x41b777
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x48], edx
mov edi, dword [ebp + 0x70]
xor esi, esi
test edi, edi
mov dword [esp + 0x18], 0xffffffff
jle 0x41b89b
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x14], ecx
add ecx, 0x1c
mov eax, dword [esp + 0x110]
xor edx, edx
cmp eax, dword [ecx + 0x64]
je 0x41b7a9
mov edx, 1
mov eax, dword [esp + 0xac]
cmp dword [ecx], eax
je 0x41b7b9
mov edx, 1
fld dword [ecx + 0x5c]
fsub dword [esp + 0x108]
fabs
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x41b7d7
mov edx, 1
fld dword [ecx + 0x60]
fsub dword [esp + 0x10c]
fabs
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x41b7f5
mov edx, 1
fld dword [ecx + 0x3c]
fsub dword [esp + 0xe8]
fabs
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x41b813
mov edx, 1
mov eax, dword [esp + 0xfc]
cmp dword [ecx + 0x50], eax
jne 0x41b881
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41b842
fld dword [ecx - 8]
fsub dword [esp + 0xa4]
fabs
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
je 0x41b881
jmp 0x41b879
fld dword [ecx + 0x54]
fsub dword [esp + 0x100]
fabs
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x41b860
mov edx, 1
fld dword [ecx + 0x58]
fsub dword [esp + 0x104]
fabs
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
je 0x41b881
test edx, edx
jne 0x41b881
mov dword [esp + 0x18], esi
inc esi
add ecx, 0x124
cmp esi, edi
jl 0x41b796
cmp dword [esp + 0x18], 0xffffffff
jne 0x41ba9d
lea ecx, [esp + 0x174]
call fcn.0043d580
mov eax, dword [ebx + 0x78]
mov byte [esp + 0x2a0], 1
cmp eax, 7
jne 0x41b8c4
mov dword [esp + 0x1f4], 3
jmp 0x41b8d4
cmp eax, 1
jne 0x41b8d4
mov dword [esp + 0x1f4], 4
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x1e4], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x188], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x1f0], eax
mov eax, dword [ebp + 0x30]
lea ebx, [ebp + 0x68]
inc eax
mov dword [esp + 0x1e8], ecx
mov ecx, dword [esp + 0xe8]
mov dword [ebp + 0x30], eax
mov edi, dword [ebx + 8]
mov esi, dword [ebp + 0x70]
mov dword [esp + 0x1e0], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0x1cc], ecx
lea ecx, [edi + 1]
mov dword [esp + 0x1ec], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x194], eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa8]
push 0xffffffffffffffff
push ecx
mov ecx, ebx
mov dword [esp + 0x198], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xd8], esi
call fcn.00436470
lea edx, [esp + 0x174]
lea eax, [edi + edi*8]
push edx
mov edx, dword [ebx + 4]
lea ecx, [edi + eax*8]
lea ecx, [edx + ecx*4]
call fcn.0043d600
mov ecx, dword [ebp + 0x6c]
lea eax, [esi + esi*8]
push 0xffffffffffffffff
lea esi, [esi + eax*8]
shl esi, 2
mov ebx, dword [esi + ecx + 0xf0]
lea edi, [esi + ecx + 0xe8]
mov ecx, edi
lea edx, [ebx + 1]
push edx
call fcn.00404830
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
mov dword [eax + ebx*4], ecx
mov eax, dword [ebp + 0x6c]
mov edx, dword [esp + 0x130]
mov ebx, dword [esi + eax + 0x104]
lea edi, [esi + eax + 0xfc]
mov dword [esp + 0x50], edx
lea ecx, [ebx + 1]
push ecx
mov ecx, edi
call fcn.00404830
mov edx, dword [edi + 4]
push 0xffffffffffffffff
fld dword [esp + 0x50]
fstp dword [edx + ebx*4]
mov ecx, dword [ebp + 0x6c]
mov eax, dword [esp + 0x134]
mov dword [esp + 0x50], eax
mov edi, dword [esi + ecx + 0x118]
lea esi, [esi + ecx + 0x110]
mov ecx, esi
lea edx, [edi + 1]
push edx
call fcn.00404830
mov eax, dword [esi + 4]
mov byte [esp + 0x2a0], 0
fld dword [esp + 0x4c]
fstp dword [eax + edi*4]
mov dword [esp + 0x284], 0x555690
mov eax, dword [esp + 0x288]
test eax, eax
je 0x41ba58
push eax
call fcn.004812ac
add esp, 4
mov eax, dword [esp + 0x274]
xor esi, esi
mov edi, 0x555668
cmp eax, esi
mov dword [esp + 0x284], edi
mov dword [esp + 0x270], 0x555690
je 0x41ba85
push eax
call fcn.004812ac
add esp, 4
lea ecx, [esp + 0x25c]
mov dword [esp + 0x270], edi
call fcn.004036b0
jmp 0x41bc9b
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa8]
push 0xffffffffffffffff
lea edx, [esi + esi*8]
mov dword [esp + 0x34], ecx
lea ebx, [esi + edx*8]
shl ebx, 2
mov ebp, dword [ebx + eax + 0xf0]
lea edi, [ebx + eax + 0xe8]
lea ecx, [ebp + 1]
push ecx
mov ecx, edi
call fcn.00404830
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
mov dword [edx + ebp*4], eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x130]
mov eax, dword [edx + 0x6c]
mov dword [esp + 0x48], ecx
mov ebp, dword [ebx + eax + 0x104]
lea edi, [ebx + eax + 0xfc]
lea ecx, [ebp + 1]
push ecx
mov ecx, edi
call fcn.00404830
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x20]
fld dword [esp + 0x44]
fstp dword [edx + ebp*4]
mov edx, dword [ecx + 0x6c]
mov eax, dword [esp + 0x130]
mov ecx, dword [ebx + edx + 0x118]
mov dword [esp + 0x44], eax
lea ebp, [ebx + edx + 0x110]
mov eax, ecx
mov dword [esp + 0x1c], eax
inc eax
test eax, eax
jne 0x41bb60
mov eax, dword [ebp + 4]
xor edi, edi
cmp eax, edi
je 0x41bb55
push eax
call fcn.004812ac
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jmp 0x41bc70
mov edx, dword [ebp + 4]
test edx, edx
jne 0x41bba5
mov eax, dword [esp + 0x1c]
inc eax
lea edi, [eax*4]
push edi
call fcn.00481156
mov edx, eax
mov ecx, edi
mov dword [ebp + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x41bc70
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
inc edi
cmp edi, eax
jg 0x41bbcb
cmp edi, ecx
jle 0x41bbc3
mov eax, edi
sub eax, ecx
lea ecx, [edx + ecx*4]
push eax
push ecx
call fcn.0040b960
mov dword [ebp + 8], edi
jmp 0x41bc70
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x41bbf5
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x41bbe9
mov eax, 4
jmp 0x41bbf5
cmp eax, 0x400
jle 0x41bbf5
mov eax, 0x400
mov ecx, dword [ebp + 0xc]
add eax, ecx
cmp edi, eax
mov dword [esp + 0x10], eax
jl 0x41bc06
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x10]
lea eax, [edx*4]
push eax
call fcn.00481156
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
lea esi, [edx + 1]
mov edx, esi
mov dword [esp + 0x14], eax
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.0040b960
mov eax, dword [ebp + 4]
push eax
call fcn.004812ac
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [ebp + 8], esi
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [ebp + 4], ecx
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x1c]
fld dword [esp + 0x44]
mov edx, dword [esp + 0x20]
fstp dword [eax + ecx*4]
mov eax, dword [edx + 0x6c]
mov ebp, edx
mov ecx, dword [ebx + eax + 0x20]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xb0], ecx
xor esi, esi
mov ecx, dword [ebp + 0x5c]
lea edi, [ebp + 0x54]
mov ebx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebx
inc ebx
cmp ebx, esi
jne 0x41bcce
mov eax, dword [edi + 4]
cmp eax, esi
je 0x41bcc3
push eax
call fcn.004812ac
add esp, 4
mov dword [edi + 4], esi
mov dword [edi + 0xc], esi
mov dword [edi + 8], esi
jmp 0x41bedc
mov esi, dword [edi + 4]
test esi, esi
jne 0x41bd47
lea edx, [ebx + ebx*8]
lea esi, [ebx + edx*2]
lea esi, [esi + esi*2]
shl esi, 2
push esi
call fcn.00481156
mov edx, eax
mov ecx, esi
mov dword [edi + 4], edx
mov dword [esp + 0x14], edx
mov edi, edx
mov edx, ecx
xor eax, eax
mov esi, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [ebx]
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x2a0], 2
je 0x41bd24
mov ecx, esi
call fcn.0043d020
add esi, 0xe4
dec edi
mov byte [esp + 0x2a0], 0
mov dword [esp + 0x10], esi
jne 0x41bd0d
lea edi, [ebp + 0x54]
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
jmp 0x41bedc
mov eax, dword [edi + 0xc]
cmp ebx, eax
mov dword [esp + 0x14], eax
jg 0x41bdcb
cmp ebx, ecx
jle 0x41bdc0
lea eax, [ecx + ecx*8]
mov edx, ebx
sub edx, ecx
lea eax, [ecx + eax*2]
lea ecx, [eax + eax*2]
lea eax, [edx + edx*8]
lea eax, [edx + eax*2]
lea edi, [esi + ecx*4]
mov dword [esp + 0x10], edi
lea ecx, [eax + eax*2]
xor eax, eax
shl ecx, 2
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
dec edx
test ecx, ecx
je 0x41bdc0
mov esi, dword [esp + 0x10]
lea edi, [edx + 1]
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x2a0], 3
je 0x41bdab
mov ecx, esi
call fcn.0043d020
add esi, 0xe4
dec edi
mov byte [esp + 0x2a0], 0
mov dword [esp + 0x10], esi
jne 0x41bd94
lea edi, [ebp + 0x54]
mov dword [edi + 8], ebx
jmp 0x41bedc
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x41bdf5
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x41bde9
mov eax, 4
jmp 0x41bdf5
cmp eax, 0x400
jle 0x41bdf5
mov eax, 0x400
mov edx, dword [esp + 0x14]
add eax, edx
cmp ebx, eax
jl 0x41be01
mov eax, ebx
lea ecx, [eax + eax*8]
mov dword [esp + 0x18], eax
lea eax, [eax + ecx*2]
lea edx, [eax + eax*2]
shl edx, 2
push edx
call fcn.00481156
mov edx, dword [esp + 0x14]
mov ebp, eax
mov edi, ebp
mov dword [esp + 0x34], ebp
mov eax, dword [edx + 8]
mov esi, dword [edx + 4]
add esp, 4
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*2]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [edx + 8]
mov edx, ebx
sub edx, eax
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
lea ecx, [edx + edx*8]
lea eax, [eax + eax*2]
lea esi, [ebp + eax*4]
lea eax, [edx + ecx*2]
mov edi, esi
mov dword [esp + 0x14], esi
lea ecx, [eax + eax*2]
xor eax, eax
shl ecx, 2
mov ebp, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x41beb2
lea edi, [edx + 1]
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x2a0], 4
je 0x41be9d
mov ecx, esi
call fcn.0043d020
add esi, 0xe4
dec edi
mov byte [esp + 0x2a0], 0
mov dword [esp + 0x14], esi
jne 0x41be86
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebp + 0x58]
lea esi, [ebp + 0x54]
push ecx
mov dword [esp + 0x14], esi
call fcn.004812ac
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 4], edx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov edi, esi
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [edi + 4]
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
call fcn.0043d100
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x54], eax
jl 0x41b3df
fld dword [esp + 0x68]
pop ebp
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
pop edi
fstp dword [eax + 0x3c]
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x40], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], edx
mov eax, dword [esp + 0x6c]
pop esi
test eax, eax
mov dword [esp + 0x64], 0x557790
pop ebx
je 0x41bf5c
push eax
call fcn.004812ac
add esp, 4
mov ecx, dword [esp + 0x288]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x294
ret