Function at 0x44b7a0
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 0x44b7b9
add esp, 0x54
jmp 0x45b3f0
fld dword [esp + 0x78]
fcomp dword [0x48b634]
fnstsw ax
test ah, 5
jp 0x44b7d5
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 [0x49d24c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
mov bx, word [edx + eax*2]
mov edx, dword [0x49d250]
mov ax, word [edx + eax*2]
mov dword [esp + 0x38], esi
mov word [esp + 0x2c], ax
call fcn.00446eb0
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x84], eax
call fcn.00446eb0
fild dword [esp + 0x30]
mov dword [esp + 0x18], eax
fld dword [0x48b5f4]
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 [0x48b5f0]
fsubr st(1)
fmul dword [0x48b5ec]
call fcn.004670a8
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 [0x48b5f0]
fadd dword [esp + 0x2c]
fmul dword [0x48b5ec]
call fcn.004670a8
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 [0x48b5f0]
fadd st(1)
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fsubr dword [esp + 0x2c]
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fadd st(1)
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fadd dword [esp + 0x2c]
fmul dword [0x48b5e8]
call fcn.004670a8
fild dword [esp + 0x7c]
sub ebx, eax
mov eax, dword [esp + 0x7c]
fmul dword [esp + 0x88]
shl eax, 0x10
fld dword [0x48ace0]
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 [0x48b5f0]
call fcn.004670a8
fstp st(0)
fild dword [esp + 0x80]
mov esi, eax
fmul dword [esp + 0x88]
fld dword [0x48ace0]
fmul st(1)
fsubr st(1)
fmul dword [0x48b5f0]
call fcn.004670a8
fstp st(0)
cmp esi, eax
jge 0x44ba3d
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.004670a8
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 0x44bfbb
mov ecx, dword [esp + 0x50]
cmp esi, ecx
jg 0x44bfbb
mov edx, dword [esp + 0x5c]
test edx, edx
jl 0x44bfbb
test ebp, ebp
jl 0x44bfbb
test esi, esi
jge 0x44bad3
xor esi, esi
mov ebx, dword [esp + 0x54]
test ebx, ebx
jge 0x44bae1
xor ebx, ebx
mov dword [esp + 0x54], ebx
cmp ebp, ecx
jle 0x44bae7
mov ebp, ecx
cmp dword [esp + 0x5c], eax
jle 0x44baf1
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 0x44be89
je 0x44bd5b
sub eax, 0x22b
je 0x44bc5b
sub eax, 0xa
jne 0x44bf9d
call fcn.004424e0
mov ecx, dword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x7c], edi
call fcn.004424e0
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 0x44bf9d
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 0x44bc11
mov ebp, esi
sub ebp, ebx
mov edi, edi
test ecx, ecx
jl 0x44bbfb
cmp ecx, dword [esp + 0x2c]
jge 0x44bbfb
test edx, edx
jl 0x44bbfb
cmp edx, dword [esp + 0x30]
jge 0x44bbfb
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 0x44bbfb
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 0x44bbc0
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 0x44bba0
jmp 0x44bf9d
call fcn.004424e0
mov ecx, dword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x7c], edi
call fcn.004424e0
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 0x44bf9d
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 0x44bd11
mov ebp, esi
sub ebp, ebx
mov edi, edi
test ecx, ecx
jl 0x44bcfb
cmp ecx, dword [esp + 0x2c]
jge 0x44bcfb
test edx, edx
jl 0x44bcfb
cmp edx, dword [esp + 0x30]
jge 0x44bcfb
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 0x44bcfb
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 0x44bcc0
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 0x44bca0
jmp 0x44bf9d
call fcn.004424e0
mov ecx, dword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x80], edi
call fcn.004424e0
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 0x44bf9d
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 0x44be3c
sub eax, ebx
lea esp, [esp]
test esi, esi
jl 0x44be26
cmp esi, dword [esp + 0x2c]
jge 0x44be26
test ebp, ebp
jl 0x44be26
cmp ebp, dword [esp + 0x30]
jge 0x44be26
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 0x44be18
cmp byte [ecx + 1], 0xff
jne 0x44be18
mov bl, byte [ecx + 2]
test bl, bl
je 0x44be26
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 0x44bdd0
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 0x44bdb0
jmp 0x44bf9d
cmp eax, 0x22b8
jne 0x44bf9d
call fcn.004424e0
mov ecx, dword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x7c], edi
call fcn.004424e0
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 0x44bf9d
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 0x44bf58
mov ebp, esi
sub ebp, ebx
mov edi, edi
test ecx, ecx
jl 0x44bf42
cmp ecx, dword [esp + 0x2c]
jge 0x44bf42
test edx, edx
jl 0x44bf42
cmp edx, dword [esp + 0x30]
jge 0x44bf42
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 0x44bf42
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 0x44bf00
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 0x44bee0
mov ecx, dword [esp + 0x34]
call fcn.00446f20
mov ecx, dword [esp + 0x70]
call fcn.00446f20
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 0x44bfd5
call fcn.0045a3d0
jmp 0x44bfee
cmp dword [ecx + 0x1ac], esi
jne 0x44bfee
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 0x44c010
call fcn.0045a3d0
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x54
ret 0x24
cmp dword [ecx + 0x1ac], esi
jne 0x44c029
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 [0x48b634]
fnstsw ax
test ah, 5
jp 0x45b40f
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 [0x49d250]
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 [0x48b5f4]
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 [0x49d24c]
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 [0x48b5f0]
fsubr st(1)
fmul dword [0x48b5ec]
call fcn.004670a8
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 [0x48b5f0]
fadd dword [esp + 0x18]
fmul dword [0x48b5ec]
call fcn.004670a8
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 [0x48b5f0]
fadd st(1)
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fsubr dword [esp + 0x18]
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fadd st(1)
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fadd dword [esp + 0x18]
fmul dword [0x48b5e8]
call fcn.004670a8
fild dword [esp + 0x78]
sub ebx, eax
mov eax, dword [esp + 0x78]
fmul dword [esp + 0x84]
shl eax, 0x10
fld dword [0x48ace0]
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 [0x48b5f0]
call fcn.004670a8
fstp st(0)
fild dword [esp + 0x7c]
mov esi, eax
fmul dword [esp + 0x84]
fld dword [0x48ace0]
fmul st(1)
fsubr st(1)
fmul dword [0x48b5f0]
call fcn.004670a8
fstp st(0)
cmp esi, eax
jge 0x45b670
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.004670a8
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 0x45b844
mov edx, dword [esp + 0x44]
cmp ecx, edx
jg 0x45b844
test ebx, ebx
jl 0x45b844
test ebp, ebp
jl 0x45b844
test ecx, ecx
jge 0x45b701
xor ecx, ecx
test edi, edi
jge 0x45b707
xor edi, edi
cmp ebp, edx
jle 0x45b711
mov dword [esp + 0x5c], edx
mov ebp, edx
cmp ebx, eax
jle 0x45b71b
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 0x45b838
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 0x45b808
sub ebx, edi
mov dword [esp + 0x84], ebx
test esi, esi
jl 0x45b7e0
cmp esi, dword [esp + 0x34]
jge 0x45b7e0
test ebp, ebp
jl 0x45b7e0
cmp ebp, dword [esp + 0x30]
jge 0x45b7e0
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 0x45b7d2
cmp byte [eax + 1], 0xff
jne 0x45b7d2
mov bl, byte [eax + 2]
test bl, bl
je 0x45b7e0
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 0x45b791
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 0x45b770
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