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

Disassembly:
sub esp, 0x54
mov eax, dword [ecx + 0x228]
test eax, eax
mov dword [esp + 0x24], ecx
jne 0x44f169
add esp, 0x54
jmp 0x461840
fld dword [esp + 0x78]
fcomp dword [0x4a1174]
fnstsw ax
test ah, 5
jp 0x44f185
mov eax, 1
add esp, 0x54
ret 0x24
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x1bc]
mov edx, dword [ecx + 0x1c0]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
cdq
sub eax, edx
push ebx
sar eax, 1
push ebp
mov dword [esp + 0x3c], eax
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x80]
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
mov dword [esp + 0x30], edi
add edi, edx
mov edx, dword [esp + 0x6c]
lea esi, [eax + edx]
mov edx, dword [0x4b8270]
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
mov bx, word [edx + eax*2]
mov edx, dword [0x4b8274]
mov ax, word [edx + eax*2]
mov dword [esp + 0x38], esi
mov word [esp + 0x2c], ax
call fcn.0044a870
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x84], eax
call fcn.0044a870
fild dword [esp + 0x30]
mov dword [esp + 0x18], eax
fld dword [0x4a1134]
movsx eax, word [esp + 0x2c]
fdiv dword [esp + 0x88]
movsx ebp, bx
mov dword [esp + 0x30], eax
mov ebx, ebp
imul eax, edi
imul ebx, esi
fstp dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
add eax, ebx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fsubr st(1)
fmul dword [0x4a112c]
call fcn.0047ba80
fild dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov ecx, ebp
imul eax, esi
fstp dword [esp + 0x2c]
imul ecx, edi
mov dword [esp + 0x40], ecx
sub ecx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
fild dword [esp + 0x28]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fadd dword [esp + 0x2c]
fmul dword [0x4a112c]
call fcn.0047ba80
mov esi, 1
sub esi, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
neg edi
mov ecx, esi
imul ecx, dword [esp + 0x30]
sub ecx, ebx
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fadd st(1)
fmul dword [0x4a1128]
call fcn.0047ba80
imul esi, ebp
mov ebx, dword [esp + 0x14]
mov ecx, edi
sub ecx, eax
add esi, dword [esp + 0x24]
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ecx
neg ebx
fild dword [esp + 0x28]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fsubr dword [esp + 0x2c]
fmul dword [0x4a1128]
call fcn.0047ba80
mov ecx, ebx
sub ecx, eax
mov eax, dword [esp + 0x38]
mov esi, 1
sub esi, eax
mov edx, esi
imul edx, ebp
sub edx, dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], ecx
fild dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fadd st(1)
fmul dword [0x4a1128]
call fcn.0047ba80
imul esi, dword [esp + 0x30]
fstp st(0)
add esi, dword [esp + 0x40]
mov dword [esp + 0x40], esi
sub edi, eax
mov dword [esp + 0x28], edi
fild dword [esp + 0x40]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fadd dword [esp + 0x2c]
fmul dword [0x4a1128]
call fcn.0047ba80
fild dword [esp + 0x7c]
sub ebx, eax
mov eax, dword [esp + 0x7c]
fmul dword [esp + 0x88]
shl eax, 0x10
fld dword [0x4a0578]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x80]
fmul st(1)
shl eax, 0x10
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], eax
fsubr st(1)
fmul dword [0x4a1130]
call fcn.0047ba80
fstp st(0)
fild dword [esp + 0x80]
mov esi, eax
fmul dword [esp + 0x88]
fld dword [0x4a0578]
fmul st(1)
fsubr st(1)
fmul dword [0x4a1130]
call fcn.0047ba80
fstp st(0)
cmp esi, eax
jge 0x44f3ed
mov esi, eax
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x68]
lea ecx, [ebx + esi]
add ecx, edx
sub ecx, ebx
sub ecx, edx
lea eax, [esi + ebp]
add eax, edi
mov edx, ecx
sub eax, ebp
imul edx, ecx
sub eax, edi
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x88], edx
fild dword [esp + 0x88]
fsqrt
call fcn.0047ba80
mov edx, dword [esp + 0x6c]
mov ecx, ebp
add ebp, eax
add ebp, edi
sub ecx, eax
mov esi, ebx
sub esi, eax
mov dword [esp + 0x5c], ebp
lea ebp, [ebx + eax]
mov eax, dword [esp + 0x4c]
add ecx, edi
add esi, edx
add ebp, edx
cmp ecx, eax
mov dword [esp + 0x54], ecx
jg 0x44f96b
mov ecx, dword [esp + 0x50]
cmp esi, ecx
jg 0x44f96b
mov edx, dword [esp + 0x5c]
test edx, edx
jl 0x44f96b
test ebp, ebp
jl 0x44f96b
test esi, esi
jge 0x44f483
xor esi, esi
mov ebx, dword [esp + 0x54]
test ebx, ebx
jge 0x44f491
xor ebx, ebx
mov dword [esp + 0x54], ebx
cmp ebp, ecx
jle 0x44f497
mov ebp, ecx
cmp dword [esp + 0x5c], eax
jle 0x44f4a1
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, ebx
imul eax, dword [esp + 0x20]
mov edx, esi
imul edx, dword [esp + 0x28]
add eax, ecx
add eax, edx
mov edx, ebx
imul edx, dword [esp + 0x24]
mov ecx, esi
imul ecx, dword [esp + 0x1c]
add edx, edi
add edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x228]
cmp eax, 0x378
mov dword [esp + 0x14], edx
ja 0x44f839
je 0x44f70b
sub eax, 0x22b
je 0x44f60b
sub eax, 0xa
jne 0x44f94d
call fcn.00445d70
mov ecx, dword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x7c], edi
call fcn.00445d70
imul edi, esi
mov ecx, eax
imul ecx, dword [esp + 0x78]
cdq
sub eax, edx
add dword [esp + 0x84], edi
mov edx, dword [esp + 0x18]
add edx, ecx
sar eax, 1
cmp esi, ebp
mov dword [esp + 0x18], edx
jge 0x44f94d
sub ebp, esi
mov dword [esp + 0x88], ebp
lea esp, [esp]
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea edi, [esi + ebx*2]
mov esi, dword [esp + 0x5c]
cmp ebx, esi
jge 0x44f5c1
mov ebp, esi
sub ebp, ebx
mov edi, edi
test ecx, ecx
jl 0x44f5ab
cmp ecx, dword [esp + 0x2c]
jge 0x44f5ab
test edx, edx
jl 0x44f5ab
cmp edx, dword [esp + 0x30]
jge 0x44f5ab
mov esi, edx
sar esi, 0x10
imul esi, eax
add esi, dword [esp + 0x74]
mov ebx, ecx
sar ebx, 0x10
add ebx, esi
mov esi, dword [esp + 0x18]
lea esi, [esi + ebx*2]
mov si, word [esi]
cmp si, 0x7e0
je 0x44f5ab
mov word [edi], si
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
add edi, 2
add ecx, esi
add edx, ebx
dec ebp
jne 0x44f570
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
add edi, ecx
mov ecx, dword [esp + 0x7c]
add esi, edx
mov edx, dword [esp + 0x84]
add edx, ecx
mov ecx, dword [esp + 0x88]
dec ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
jne 0x44f550
jmp 0x44f94d
call fcn.00445d70
mov ecx, dword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x7c], edi
call fcn.00445d70
imul edi, esi
mov ecx, eax
imul ecx, dword [esp + 0x78]
cdq
sub eax, edx
add dword [esp + 0x84], edi
mov edx, dword [esp + 0x18]
add edx, ecx
sar eax, 1
cmp esi, ebp
mov dword [esp + 0x18], edx
jge 0x44f94d
sub ebp, esi
mov dword [esp + 0x88], ebp
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea edi, [esi + ebx*2]
mov esi, dword [esp + 0x5c]
cmp ebx, esi
jge 0x44f6c1
mov ebp, esi
sub ebp, ebx
mov edi, edi
test ecx, ecx
jl 0x44f6ab
cmp ecx, dword [esp + 0x2c]
jge 0x44f6ab
test edx, edx
jl 0x44f6ab
cmp edx, dword [esp + 0x30]
jge 0x44f6ab
mov esi, edx
sar esi, 0x10
imul esi, eax
add esi, dword [esp + 0x74]
mov ebx, ecx
sar ebx, 0x10
add ebx, esi
mov esi, dword [esp + 0x18]
lea esi, [esi + ebx*2]
mov si, word [esi]
cmp si, 0x3e0
je 0x44f6ab
mov word [edi], si
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
add edi, 2
add ecx, esi
add edx, ebx
dec ebp
jne 0x44f670
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x84]
add ebp, edx
mov edx, dword [esp + 0x7c]
add edi, ecx
mov ecx, dword [esp + 0x88]
add esi, edx
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ecx
jne 0x44f650
jmp 0x44f94d
call fcn.00445d70
mov ecx, dword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x80], edi
call fcn.00445d70
imul edi, esi
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
imul eax, dword [esp + 0x78]
add ecx, edi
add edx, eax
cmp esi, ebp
mov dword [esp + 0x84], ecx
mov dword [esp + 0x18], edx
jge 0x44f94d
lea eax, [ebx + ebx*2]
sub ebp, esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], ebp
mov eax, dword [esp + 0x5c]
cmp ebx, eax
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
lea edi, [edx + ecx]
jge 0x44f7ec
sub eax, ebx
lea esp, [esp]
test esi, esi
jl 0x44f7d6
cmp esi, dword [esp + 0x2c]
jge 0x44f7d6
test ebp, ebp
jl 0x44f7d6
cmp ebp, dword [esp + 0x30]
jge 0x44f7d6
mov ecx, dword [esp + 0x74]
mov edx, esi
sar edx, 0x10
add edx, ecx
mov ecx, dword [esp + 0x18]
lea ebx, [edx + ecx]
mov ecx, ebp
sar ecx, 0x10
imul ecx, dword [esp + 0x7c]
lea edx, [ebx + edx*2]
add ecx, edx
mov dl, byte [ecx]
test dl, dl
jne 0x44f7c8
cmp byte [ecx + 1], 0xff
jne 0x44f7c8
mov bl, byte [ecx + 2]
test bl, bl
je 0x44f7d6
mov byte [edi], dl
mov dl, byte [ecx + 1]
mov byte [edi + 1], dl
mov cl, byte [ecx + 2]
mov byte [edi + 2], cl
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add edi, 3
add esi, ebx
add ebp, edx
dec eax
jne 0x44f780
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
add edi, edx
mov edx, dword [esp + 0x80]
add esi, eax
mov eax, dword [esp + 0x88]
add ecx, edx
dec eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
jne 0x44f760
jmp 0x44f94d
cmp eax, 0x22b8
jne 0x44f94d
call fcn.00445d70
mov ecx, dword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x7c], edi
call fcn.00445d70
imul edi, esi
mov ecx, eax
imul ecx, dword [esp + 0x78]
cdq
and edx, 3
add eax, edx
add dword [esp + 0x84], edi
mov edx, dword [esp + 0x18]
add edx, ecx
sar eax, 2
cmp esi, ebp
mov dword [esp + 0x18], edx
jge 0x44f94d
sub ebp, esi
mov dword [esp + 0x88], ebp
lea ecx, [ecx]
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea edi, [esi + ebx*4]
mov esi, dword [esp + 0x5c]
cmp ebx, esi
jge 0x44f908
mov ebp, esi
sub ebp, ebx
mov edi, edi
test ecx, ecx
jl 0x44f8f2
cmp ecx, dword [esp + 0x2c]
jge 0x44f8f2
test edx, edx
jl 0x44f8f2
cmp edx, dword [esp + 0x30]
jge 0x44f8f2
mov esi, edx
sar esi, 0x10
imul esi, eax
add esi, dword [esp + 0x74]
mov ebx, ecx
sar ebx, 0x10
add ebx, esi
mov esi, dword [esp + 0x18]
lea esi, [esi + ebx*4]
mov esi, dword [esi]
mov ebx, esi
and ebx, 0xffffff
cmp ebx, 0xff00
je 0x44f8f2
mov dword [edi], esi
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
add edi, 4
add ecx, esi
add edx, ebx
dec ebp
jne 0x44f8b0
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
add edi, ecx
mov ecx, dword [esp + 0x7c]
add esi, edx
mov edx, dword [esp + 0x84]
add edx, ecx
mov ecx, dword [esp + 0x88]
dec ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
jne 0x44f890
mov ecx, dword [esp + 0x34]
call fcn.0044a8e0
mov ecx, dword [esp + 0x70]
call fcn.0044a8e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret 0x24
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x228]
test eax, eax
mov esi, 0x4000
jne 0x44f985
call fcn.00447fb0
jmp 0x44f99e
cmp dword [ecx + 0x1ac], esi
jne 0x44f99e
mov eax, dword [ecx + 0x18c]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x80]
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 0x228]
test eax, eax
jne 0x44f9c0
call fcn.00447fb0
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x54
ret 0x24
cmp dword [ecx + 0x1ac], esi
jne 0x44f9d9
mov eax, dword [ecx + 0x18c]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x80]
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x54
ret 0x24
fld dword [esp + 0x24]
sub esp, 0x50
fcomp dword [0x4a1174]
fnstsw ax
test ah, 5
jp 0x46185f
mov eax, 1
add esp, 0x50
ret 0x24
mov eax, dword [ecx + 0x78]
mov edx, dword [ecx + 0x7c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], edx
cdq
sub eax, edx
sar eax, 1
push ebx
mov ebx, dword [0x4b8274]
push ebp
push esi
push edi
mov edi, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], edi
cdq
fild dword [esp + 0x24]
sub eax, edx
fld dword [0x4a1134]
mov edx, dword [esp + 0x64]
fdiv dword [esp + 0x84]
mov ecx, dword [ecx + 0x34]
sar eax, 1
add edi, edx
mov edx, dword [esp + 0x68]
lea esi, [eax + edx]
mov edx, dword [0x4b8270]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
mov dx, word [edx + eax*2]
mov ax, word [ebx + eax*2]
movsx eax, ax
movsx ebp, dx
mov dword [esp + 0x14], eax
mov ebx, ebp
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], ecx
imul eax, edi
imul ebx, esi
fstp dword [esp + 0x80]
mov dword [esp + 0x30], eax
add eax, ebx
mov dword [esp + 0x6c], eax
fild dword [esp + 0x6c]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fsubr st(1)
fmul dword [0x4a112c]
call fcn.0047ba80
fild dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov ecx, ebp
imul eax, esi
fstp dword [esp + 0x18]
imul ecx, edi
mov dword [esp + 0x34], ecx
sub ecx, eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x28], eax
fild dword [esp + 0x6c]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fadd dword [esp + 0x18]
fmul dword [0x4a112c]
call fcn.0047ba80
mov esi, 1
sub esi, edi
mov edi, dword [esp + 0x10]
mov edx, esi
neg edi
imul edx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
sub edx, ebx
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fadd st(1)
fmul dword [0x4a1128]
call fcn.0047ba80
imul esi, ebp
mov ebx, dword [esp + 0x6c]
mov ecx, edi
sub ecx, eax
add esi, dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], ecx
neg ebx
fild dword [esp + 0x28]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fsubr dword [esp + 0x18]
fmul dword [0x4a1128]
call fcn.0047ba80
mov edx, dword [esp + 0x30]
mov ecx, ebx
sub ecx, eax
mov eax, dword [esp + 0x2c]
mov esi, 1
sub esi, eax
mov eax, esi
imul eax, ebp
sub eax, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
fild dword [esp + 0x30]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fadd st(1)
fmul dword [0x4a1128]
call fcn.0047ba80
imul esi, dword [esp + 0x14]
fstp st(0)
add esi, dword [esp + 0x34]
mov dword [esp + 0x34], esi
sub edi, eax
mov dword [esp + 0x24], edi
fild dword [esp + 0x34]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fadd dword [esp + 0x18]
fmul dword [0x4a1128]
call fcn.0047ba80
fild dword [esp + 0x78]
sub ebx, eax
mov eax, dword [esp + 0x78]
fmul dword [esp + 0x84]
shl eax, 0x10
fld dword [0x4a0578]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x7c]
fmul st(1)
shl eax, 0x10
mov dword [esp + 0x80], ebx
mov dword [esp + 0x30], eax
fsubr st(1)
fmul dword [0x4a1130]
call fcn.0047ba80
fstp st(0)
fild dword [esp + 0x7c]
mov esi, eax
fmul dword [esp + 0x84]
fld dword [0x4a0578]
fmul st(1)
fsubr st(1)
fmul dword [0x4a1130]
call fcn.0047ba80
fstp st(0)
cmp esi, eax
jge 0x461ac0
mov esi, eax
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x64]
lea eax, [ebx + esi]
add eax, edx
lea ecx, [esi + ebp]
mov esi, dword [esp + 0x68]
add ecx, esi
sub ecx, ebp
sub ecx, esi
sub eax, ebx
sub eax, edx
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x84], edx
fild dword [esp + 0x84]
fsqrt
call fcn.0047ba80
mov edx, dword [esp + 0x64]
mov edi, ebx
mov ecx, ebp
sub edi, eax
sub ecx, eax
add ebx, eax
add ebp, eax
mov eax, dword [esp + 0x40]
add edi, edx
add ebx, edx
add ebp, esi
add ecx, esi
cmp edi, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
jg 0x461c94
mov edx, dword [esp + 0x44]
cmp ecx, edx
jg 0x461c94
test ebx, ebx
jl 0x461c94
test ebp, ebp
jl 0x461c94
test ecx, ecx
jge 0x461b51
xor ecx, ecx
test edi, edi
jge 0x461b57
xor edi, edi
cmp ebp, edx
jle 0x461b61
mov dword [esp + 0x5c], edx
mov ebp, edx
cmp ebx, eax
jle 0x461b6b
mov ebx, eax
mov dword [esp + 0x58], ebx
mov esi, dword [esp + 0x10]
mov eax, edi
imul eax, dword [esp + 0x1c]
mov edx, ecx
imul edx, dword [esp + 0x24]
add eax, esi
lea esi, [eax + edx]
mov eax, edi
imul eax, dword [esp + 0x20]
add eax, dword [esp + 0x6c]
mov edx, ecx
imul edx, dword [esp + 0x80]
add eax, edx
cmp ecx, ebp
mov edx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], edx
jge 0x461c88
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x48]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x7c], ecx
mov edi, edi
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + edx*4]
mov ebp, dword [esp + 0x6c]
lea eax, [edi + edi*2]
add ecx, eax
cmp edi, ebx
jge 0x461c58
sub ebx, edi
mov dword [esp + 0x84], ebx
test esi, esi
jl 0x461c30
cmp esi, dword [esp + 0x34]
jge 0x461c30
test ebp, ebp
jl 0x461c30
cmp ebp, dword [esp + 0x30]
jge 0x461c30
mov ebx, dword [esp + 0x70]
mov eax, esi
sar eax, 0x10
add eax, ebx
mov ebx, dword [esp + 0x7c]
mov edx, ebp
sar edx, 0x10
lea eax, [eax + eax*2]
add eax, dword [ebx + edx*4]
mov dl, byte [eax]
test dl, dl
jne 0x461c22
cmp byte [eax + 1], 0xff
jne 0x461c22
mov bl, byte [eax + 2]
test bl, bl
je 0x461c30
mov byte [ecx], dl
mov dl, byte [eax + 1]
mov byte [ecx + 1], dl
mov al, byte [eax + 2]
mov byte [ecx + 2], al
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x84]
add ecx, 3
add esi, ebx
add ebp, edx
dec eax
mov dword [esp + 0x84], eax
jne 0x461be1
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
add esi, eax
mov eax, dword [esp + 0x5c]
inc edx
add ebp, ecx
cmp edx, eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x6c], ebp
jl 0x461bc0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x24
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x50
ret 0x24