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

Disassembly:
sub esp, 0xb0
mov eax, dword [esp + 0xc8]
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0xd8]
mov edx, dword [esp + 0xcc]
xor ebx, ebx
xor ecx, ecx
dec eax
dec esi
push edi
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x44], edi
test esi, esi
mov dword [esp + 0x34], ebx
je 0x45f2c1
mov esi, dword [esp + 0xc4]
test esi, esi
jge 0x45e94b
neg esi
mov ebx, edi
mov dword [esp + 0x34], esi
sub ebx, esi
mov dword [esp + 0x44], ebx
mov ebx, esi
mov esi, dword [esp + 0xc4]
lea edi, [esi + edi - 1]
cmp edi, eax
jle 0x45e95c
sub eax, ebx
sub eax, esi
inc eax
mov dword [esp + 0x44], eax
mov edi, dword [esp + 0xc8]
test edi, edi
jge 0x45e974
mov edx, dword [esp + 0xd0]
mov ecx, edi
neg ecx
sub edx, ecx
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0x60]
lea eax, [edi + eax - 1]
cmp eax, esi
jle 0x45e98e
sub esi, ecx
sub esi, edi
inc esi
mov edx, esi
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, esi
jle 0x45f2af
cmp edx, esi
jle 0x45f2af
add eax, ebx
add edx, ecx
mov dword [esp + 0xb8], eax
xor eax, eax
cmp ecx, esi
mov dword [esp + 0xbc], edx
mov dword [esp + 0x58], esi
jle 0x45e9ef
mov dword [esp + 0x54], ecx
mov edi, dword [esp + 0xd4]
xor edx, edx
mov dx, word [edi + eax*2]
mov eax, dword [esp + 0x58]
lea eax, [eax + edx + 1]
mov edx, dword [esp + 0x54]
dec edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
jne 0x45e9c4
mov edi, dword [esp + 0xc8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x60], ecx
cmp ecx, edx
jge 0x45f2af
add ecx, edi
mov edx, dword [esp + 0xc4]
imul ecx, dword [esp + 0xd8]
mov dword [esp + 0x50], ecx
add ecx, ebx
add ecx, edx
mov edx, dword [esp + 0xe0]
lea ecx, [edx + ecx*2]
mov dword [esp + 0x54], ecx
jmp 0x45ea2f
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0x58]
xor edi, edi
mov di, word [edx + eax*2]
add ecx, edi
inc eax
cmp eax, ecx
mov dword [esp + 0x58], ecx
jge 0x45f26b
mov cx, word [edx + eax*2]
cmp cx, 0xc0
jne 0x45ea69
inc eax
xor ecx, ecx
mov cx, word [edx + eax*2]
inc eax
add esi, ecx
jmp 0x45f25f
cmp cx, 0xc1
jne 0x45eb28
inc eax
xor ecx, ecx
mov edi, esi
mov cx, word [edx + eax*2]
inc eax
add esi, ecx
mov dword [esp + 0x28], ecx
cmp ebx, esi
mov dword [esp + 0x40], esi
jg 0x45f019
mov ecx, dword [esp + 0xb8]
cmp ecx, edi
jl 0x45f015
cmp edi, ebx
jge 0x45ead7
mov ecx, ebx
sub ecx, edi
mov edi, dword [esp + 0x54]
add eax, ecx
mov ecx, esi
sub ecx, ebx
shl ecx, 1
mov ebx, ecx
lea esi, [edx + eax*2]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x40]
mov ecx, esi
sub ecx, ebx
add eax, ecx
jmp 0x45f25f
cmp edi, ecx
jg 0x45eb20
cmp ecx, esi
jge 0x45eb20
sub ecx, edi
shl ecx, 1
mov ebx, dword [esp + 0x50]
lea esi, [edx + eax*2]
add ebx, edi
mov edi, dword [esp + 0xc4]
add ebx, edi
mov edi, dword [esp + 0xe0]
lea edi, [edi + ebx*2]
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
add eax, ecx
jmp 0x45f25f
mov ecx, dword [esp + 0x28]
add ecx, ecx
jmp 0x45eae3
cmp cx, 0xc2
je 0x45eb3a
cmp cx, 0xc3
jne 0x45f2c1
and ecx, 0xffff
sub ecx, 0xc2
je 0x45eb54
dec ecx
jne 0x45eb5f
mov ecx, dword [esp + 0xe8]
jmp 0x45eb5b
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x64], ecx
inc eax
xor edi, edi
mov ecx, esi
mov di, word [edx + eax*2]
inc eax
add esi, edi
mov dword [esp + 0x28], edi
cmp ebx, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], esi
jg 0x45f25d
mov edi, dword [esp + 0xb8]
cmp edi, ecx
jl 0x45f259
cmp ecx, ebx
jge 0x45eddd
sub ebx, ecx
mov edi, esi
add eax, ebx
mov ebx, dword [esp + 0x34]
sub edi, ebx
mov dword [esp + 0x44], eax
test edi, edi
jle 0x45edce
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x64]
add esi, ecx
mov ecx, dword [esp + 0xc4]
and ebx, 0xffff
add esi, ecx
mov ecx, dword [esp + 0xe0]
lea edx, [edx + eax*2]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x28], edx
lea ecx, [ecx + esi*2]
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], ecx
jmp 0x45ebea
mov ebx, dword [esp + 0x5c]
mov eax, dword [ebp + 0x74]
xor ecx, ecx
mov cl, byte [ebp + 0x69]
mov edx, ebx
and edx, eax
mov esi, ecx
shr edx, cl
xor ecx, ecx
mov dword [esp + 0x2c], esi
mov esi, dword [ebp + 0x70]
mov cl, byte [ebp + 0x68]
mov edi, ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x20], dl
mov edx, ebx
and edx, esi
mov dword [esp + 0x4c], edi
mov edi, dword [ebp + 0x6c]
mov dword [esp + 0x6c], 0
shr edx, cl
xor ecx, ecx
and ebx, edi
mov cl, byte [ebp + 0x67]
shr ebx, cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x18], dl
mov edx, eax
mov byte [esp + 0x30], bl
mov bx, word [ecx]
mov ecx, dword [esp + 0x2c]
and ebx, 0xffff
and eax, ebx
shr eax, cl
shr edx, cl
and eax, 0xff
mov dword [esp + 0x14], eax
mov dword [esp + 0x68], edx
fild dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], edx
and eax, 0xff
fidiv dword [esp + 0x68]
mov dword [esp + 0x14], eax
fimul dword [esp + 0x14]
call fcn.00468520
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x20], al
mov eax, esi
and esi, ebx
shr esi, cl
shr eax, cl
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x18]
and ecx, 0xff
and esi, 0xff
mov dword [esp + 0x14], esi
mov dword [esp + 0x78], eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], eax
fidiv dword [esp + 0x78]
fimul dword [esp + 0x14]
call fcn.00468520
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x18], al
mov eax, edi
mov ecx, esi
and edi, ebx
mov dword [esp + 0x9c], 0
shr edi, cl
shr eax, cl
and edi, 0xff
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x14]
mov dword [esp + 0x98], eax
fidiv dword [esp + 0x98]
mov edx, dword [esp + 0x30]
and edx, 0xff
mov dword [esp + 0x14], edx
fimul dword [esp + 0x14]
call fcn.00468520
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
and edx, 0xff
mov byte [esp + 0x30], al
cmp edx, ecx
mov bl, cl
ja 0x45ed3b
mov bl, byte [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
and ecx, 0xff
cmp ecx, edx
ja 0x45ed51
mov dl, byte [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
and ecx, 0xff
cmp ecx, edi
jbe 0x45ed67
mov al, byte [esp + 0x1c]
movzx di, al
mov ecx, esi
xor ax, ax
movzx dx, dl
shl edi, cl
mov ecx, dword [esp + 0x4c]
mov al, bl
shl edx, cl
mov ecx, dword [esp + 0x2c]
shl eax, cl
or edi, edx
mov edx, dword [esp + 0x28]
add edx, 2
or edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], edx
mov word [eax], di
add eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x48], eax
jne 0x45ebe6
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0xd4]
mov ecx, esi
sub ecx, ebx
add eax, ecx
jmp 0x45f25f
mov ebx, dword [esp + 0x34]
mov ecx, esi
sub ecx, ebx
add eax, ecx
jmp 0x45f25f
cmp ecx, edi
jg 0x45f020
cmp edi, esi
jge 0x45f020
sub edi, ecx
test edi, edi
jle 0x45f015
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x64]
add esi, ecx
mov ecx, dword [esp + 0xc4]
and ebx, 0xffff
add esi, ecx
mov ecx, dword [esp + 0xe0]
lea edx, [edx + eax*2]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], edx
lea ecx, [ecx + esi*2]
mov dword [esp + 0x14], edi
mov dword [esp + 0x48], ecx
jmp 0x45ee33
mov ebx, dword [esp + 0x5c]
mov eax, dword [ebp + 0x74]
xor ecx, ecx
mov cl, byte [ebp + 0x69]
mov edx, ebx
and edx, eax
mov esi, ecx
shr edx, cl
xor ecx, ecx
mov dword [esp + 0x2c], esi
mov esi, dword [ebp + 0x70]
mov cl, byte [ebp + 0x68]
mov edi, ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x20], dl
mov edx, ebx
and edx, esi
mov dword [esp + 0x4c], edi
mov edi, dword [ebp + 0x6c]
mov dword [esp + 0x8c], 0
shr edx, cl
xor ecx, ecx
and ebx, edi
mov cl, byte [ebp + 0x67]
shr ebx, cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x18], dl
mov edx, eax
mov byte [esp + 0x30], bl
mov bx, word [ecx]
mov ecx, dword [esp + 0x2c]
and ebx, 0xffff
and eax, ebx
shr eax, cl
shr edx, cl
and eax, 0xff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x88], edx
fild dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], edx
and eax, 0xff
fidiv dword [esp + 0x88]
mov dword [esp + 0x3c], eax
fimul dword [esp + 0x3c]
call fcn.00468520
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x20], al
mov eax, esi
and esi, ebx
shr esi, cl
shr eax, cl
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0x18]
and ecx, 0xff
and esi, 0xff
mov dword [esp + 0x10], esi
mov dword [esp + 0xa8], eax
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], eax
fidiv dword [esp + 0xa8]
fimul dword [esp + 0x10]
call fcn.00468520
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x18], al
mov eax, edi
mov ecx, esi
and edi, ebx
mov dword [esp + 0x74], 0
shr edi, cl
shr eax, cl
and edi, 0xff
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x10]
mov dword [esp + 0x70], eax
fidiv dword [esp + 0x70]
mov edx, dword [esp + 0x30]
and edx, 0xff
mov dword [esp + 0x10], edx
fimul dword [esp + 0x10]
call fcn.00468520
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
and edx, 0xff
mov byte [esp + 0x30], al
cmp edx, ecx
mov bl, cl
ja 0x45ef8d
mov bl, byte [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
and ecx, 0xff
cmp ecx, edx
ja 0x45efa3
mov dl, byte [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
and ecx, 0xff
cmp ecx, edi
jbe 0x45efb9
mov al, byte [esp + 0x1c]
movzx di, al
mov ecx, esi
xor ax, ax
movzx dx, dl
shl edi, cl
mov ecx, dword [esp + 0x4c]
mov al, bl
shl edx, cl
mov ecx, dword [esp + 0x2c]
shl eax, cl
or edi, edx
mov edx, dword [esp + 0x38]
add edx, 2
or edi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], edx
mov word [eax], di
add eax, 2
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x45ee2f
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0x28]
add eax, ecx
jmp 0x45f25f
mov edi, dword [esp + 0x28]
test edi, edi
jle 0x45f25d
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x64]
add esi, ecx
mov ecx, dword [esp + 0xc4]
and ebx, 0xffff
add esi, ecx
mov ecx, dword [esp + 0xe0]
lea edx, [edx + eax*2]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], edx
lea ecx, [ecx + esi*2]
mov dword [esp + 0x48], edi
mov dword [esp + 0x14], ecx
jmp 0x45f068
mov ebx, dword [esp + 0x5c]
mov eax, dword [ebp + 0x74]
xor ecx, ecx
mov cl, byte [ebp + 0x69]
mov edx, ebx
and edx, eax
mov esi, ecx
shr edx, cl
xor ecx, ecx
mov dword [esp + 0x2c], esi
mov esi, dword [ebp + 0x70]
mov cl, byte [ebp + 0x68]
mov edi, ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x20], dl
mov edx, ebx
and edx, esi
mov dword [esp + 0x4c], edi
mov edi, dword [ebp + 0x6c]
mov dword [esp + 0x84], 0
shr edx, cl
xor ecx, ecx
and ebx, edi
mov cl, byte [ebp + 0x67]
shr ebx, cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x18], dl
mov edx, eax
mov byte [esp + 0x30], bl
mov bx, word [ecx]
mov ecx, dword [esp + 0x2c]
and ebx, 0xffff
and eax, ebx
shr eax, cl
shr edx, cl
and eax, 0xff
mov dword [esp + 0x10], eax
mov dword [esp + 0x80], edx
fild dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], edx
and eax, 0xff
fidiv dword [esp + 0x80]
mov dword [esp + 0x10], eax
fimul dword [esp + 0x10]
call fcn.00468520
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x20], al
mov eax, esi
and esi, ebx
shr esi, cl
shr eax, cl
mov dword [esp + 0x94], 0
mov ecx, dword [esp + 0x18]
and ecx, 0xff
and esi, 0xff
mov dword [esp + 0x10], esi
mov dword [esp + 0x90], eax
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], eax
fidiv dword [esp + 0x90]
fimul dword [esp + 0x10]
call fcn.00468520
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x18], al
mov eax, edi
mov ecx, esi
and edi, ebx
mov dword [esp + 0xa4], 0
shr edi, cl
shr eax, cl
and edi, 0xff
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x10]
mov dword [esp + 0xa0], eax
fidiv dword [esp + 0xa0]
mov edx, dword [esp + 0x30]
and edx, 0xff
mov dword [esp + 0x10], edx
fimul dword [esp + 0x10]
call fcn.00468520
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
and edx, 0xff
mov byte [esp + 0x30], al
cmp edx, ecx
mov bl, cl
ja 0x45f1cb
mov bl, byte [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
and ecx, 0xff
cmp ecx, edx
ja 0x45f1e1
mov dl, byte [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
and ecx, 0xff
cmp ecx, edi
jbe 0x45f1f7
mov al, byte [esp + 0x1c]
movzx di, al
mov ecx, esi
xor ax, ax
movzx dx, dl
shl edi, cl
mov ecx, dword [esp + 0x4c]
mov al, bl
shl edx, cl
mov ecx, dword [esp + 0x2c]
shl eax, cl
or edi, edx
mov edx, dword [esp + 0x38]
add edx, 2
or edi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov word [eax], di
add eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x48], eax
jne 0x45f064
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0xd4]
jmp 0x45f25d
mov edi, dword [esp + 0x28]
add eax, edi
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jl 0x45ea4f
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
inc ecx
mov dword [esp + 0x58], ecx
mov eax, ecx
mov ecx, dword [esp + 0xd8]
inc edx
add edi, ecx
add ecx, ecx
add esi, ecx
mov ecx, dword [esp + 0xbc]
cmp edx, ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
jl 0x45ea2b
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xb0
ret 0x28
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb0
ret 0x28