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

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x5c]
push ebx
push ebp
mov ebp, dword [esp + 0x88]
push edi
lea edi, [eax + eax]
lea edx, [eax + eax*2]
xor ebx, ebx
shl eax, 2
test ebp, ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebx
jl 0x4fbff1
push esi
mov esi, dword [esp + 0x48]
jmp 0x4fae42
mov ebp, dword [esp + 0x90]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x54]
lea eax, [ebp - 1]
cmp ebx, eax
mov dword [esp + 0x10], ecx
jne 0x4fae80
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4fae80
mov ebx, dword [esp + 0x5c]
mov ebp, ebx
mov dword [esp + 0x1c], ebp
jmp 0x4faea6
cmp ebx, ebp
jne 0x4fae9a
cmp dword [esp + 0x8c], 2
jne 0x4fae9a
mov ebx, dword [esp + 0x58]
mov ebp, ebx
mov dword [esp + 0x1c], ebp
jmp 0x4faea6
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x94]
dec eax
je 0x4fb192
dec eax
jne 0x4fb4f7
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4fafef
xor edx, edx
xor eax, eax
mov dx, word [ecx]
xor ecx, ecx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x50]
mov ax, word [ebx]
mov cx, word [edx]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x58]
xor edx, edx
xor eax, eax
mov cx, word [ecx]
mov dx, word [ebp + edi*2]
mov ax, word [ebp]
mov ebp, dword [esp + 0x54]
and ecx, 0xffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov cx, word [edi + ebx]
add edx, ecx
xor ecx, ecx
mov cx, word [ebp + edi*2]
mov ebp, dword [esp + 0x50]
add ecx, eax
xor eax, eax
mov ax, word [edi + ebp]
mov ebp, dword [esp + 0x28]
add ecx, edx
mov edx, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [esp + 0x2c]
add eax, edx
xor edx, edx
add eax, ecx
mov ecx, dword [esp + 0x54]
add eax, ebp
mov ebp, dword [esp + 0x1c]
imul eax, dword [esi + 4]
mov dx, word [edi + ebp]
mov dword [esp + 0x34], eax
xor eax, eax
mov ax, word [edi + ecx]
mov ecx, eax
mov eax, dword [esp + 0x30]
add eax, edx
mov edx, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x34]
add ecx, edx
xor edx, edx
imul ecx, dword [esi + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x50]
mov dx, word [ebx + edi*2]
mov dword [esp + 0x34], eax
xor eax, eax
mov ax, word [ecx + edi*2]
mov ecx, eax
mov eax, dword [esp + 0x24]
add eax, edx
mov edx, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x34]
imul ecx, dword [esi]
add eax, ecx
xor ecx, ecx
mov cx, word [edx + edi*2]
mov edx, dword [esp + 0x24]
add ecx, edx
mov edx, dword [esp + 0x20]
add ecx, edx
mov edx, dword [esp + 0x2c]
add ecx, edx
imul ecx, dword [esi + 8]
add eax, ecx
xor ecx, ecx
mov edx, dword [esp + 0x58]
mov cx, word [edi + edx]
mov edx, ecx
mov ecx, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [esp + 0x20]
add edx, ecx
add edx, dword [esp + 0x28]
imul edx, dword [esi + 0x1c]
add eax, edx
mov edx, dword [esi + 0x30]
imul edx, ecx
jmp 0x4fb110
mov eax, dword [esp + 0x58]
mov edx, dword [esi + 0x54]
mov ax, word [eax]
and eax, 0xffff
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x58]
add eax, edx
mov edx, dword [esi + 0x50]
add eax, edx
xor edx, edx
mov dx, word [ebx]
imul eax, edx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x18]
add edx, eax
mov eax, dword [esi + 0x14]
add edx, eax
xor eax, eax
mov ax, word [ecx]
mov ecx, dword [esi + 0x44]
imul edx, eax
mov eax, dword [esp + 0x34]
add eax, edx
mov edx, dword [esi + 0x40]
add ecx, edx
mov edx, dword [esi + 0x3c]
add ecx, edx
xor edx, edx
mov dx, word [ebp]
imul ecx, edx
mov edx, dword [esi + 0x2c]
add eax, ecx
mov ecx, dword [esi + 0x30]
add ecx, edx
mov edx, dword [esi + 0x28]
add ecx, edx
mov edx, dword [esi + 8]
imul ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
add edx, ecx
mov ecx, dword [esp + 0x50]
add edx, eax
xor eax, eax
mov ax, word [ecx]
xor ecx, ecx
imul edx, eax
mov eax, dword [esp + 0x34]
mov cx, word [ebp + edi*2]
imul ecx, dword [esi + 0x4c]
add eax, edx
xor edx, edx
mov dx, word [ebx + edi*2]
imul edx, dword [esi + 0x60]
add eax, edx
xor edx, edx
mov dx, word [edi + ebx]
add eax, ecx
imul edx, dword [esi + 0x5c]
xor ecx, ecx
add eax, edx
mov cx, word [edi + ebp]
xor edx, edx
imul ecx, dword [esi + 0x48]
add eax, ecx
mov ecx, dword [esp + 0x58]
mov dx, word [ecx + edi*2]
mov ecx, dword [esp + 0x54]
imul edx, dword [esi + 0x38]
add eax, edx
xor edx, edx
mov dx, word [ecx + edi*2]
mov ecx, dword [esp + 0x50]
imul edx, dword [esi + 0x24]
add eax, edx
xor edx, edx
mov dx, word [ecx + edi*2]
imul edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x58]
add eax, edx
xor edx, edx
mov dx, word [edi + ecx]
mov ecx, dword [esp + 0x54]
imul edx, dword [esi + 0x34]
add eax, edx
xor edx, edx
mov dx, word [edi + ecx]
mov ecx, dword [esp + 0x50]
imul edx, dword [esi + 0x20]
add eax, edx
xor edx, edx
mov dx, word [edi + ecx]
imul edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x74]
add eax, edx
test ecx, ecx
je 0x4fb122
mov ecx, dword [esp + 0x78]
sar eax, cl
jmp 0x4fb127
cdq
idiv dword [esp + 0x7c]
add eax, dword [esp + 0x80]
cmp eax, 0xffff
jle 0x4fb13c
mov eax, 0xffff
jmp 0x4fb142
test eax, eax
jge 0x4fb142
xor eax, eax
mov ecx, dword [esp + 0x84]
cmp ecx, 0x100
jne 0x4fb15a
mov edx, dword [esp + 0x4c]
mov word [edx], ax
jmp 0x4fb17f
sub eax, dword [esp + 0x20]
imul eax, ecx
cdq
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x58]
mov ecx, eax
mov ax, word [edx]
sar ecx, 8
add ecx, eax
mov eax, dword [esp + 0x4c]
mov word [eax], cx
mov ecx, dword [esp + 0x4c]
lea edx, [edi + ecx]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4fb2fd
xor eax, eax
mov ax, word [ebx]
mov dword [esp + 0x24], eax
xor eax, eax
mov ax, word [ebp]
mov dword [esp + 0x30], eax
xor eax, eax
mov ax, word [ecx]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x28], eax
xor eax, eax
mov ax, word [ecx]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
xor eax, eax
mov ax, word [edi + ebx]
mov dword [esp + 0x3c], eax
xor eax, eax
mov ax, word [ecx]
mov dword [esp + 0x20], eax
mov ax, word [edi + ecx]
and eax, 0xffff
mov dword [esp + 0x34], eax
xor eax, eax
mov ax, word [ebp + edx*2]
mov ebp, dword [esp + 0x54]
mov ecx, eax
xor eax, eax
mov ax, word [ebp + edx*2]
mov ebp, dword [esp + 0x50]
xor edx, edx
add ecx, eax
mov dx, word [ebx + edi*2]
mov eax, dword [esp + 0x30]
add edx, eax
xor eax, eax
mov ax, word [ebp + edi*2]
add edx, ecx
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x24]
add eax, edx
mov edx, dword [esp + 0x1c]
add eax, ecx
xor ecx, ecx
mov cx, word [edx + edi*2]
add eax, ebp
mov ebp, dword [esp + 0x54]
mov edx, ecx
xor ecx, ecx
imul eax, dword [esi + 4]
mov cx, word [ebp + edi*2]
mov ebp, ecx
mov ecx, dword [esp + 0x30]
add ecx, edx
mov edx, dword [esp + 0x28]
add ebp, ecx
mov ecx, dword [esp + 0x14]
add ebp, edx
xor edx, edx
imul ebp, dword [esi + 0x18]
add eax, ebp
mov ebp, dword [esp + 0x58]
mov dx, word [ebp + ecx*2]
mov ebp, dword [esp + 0x50]
xor ecx, ecx
mov cx, word [edi + ebp]
mov ebp, dword [esp + 0x3c]
add ebp, edx
mov edx, dword [esp + 0x20]
add ecx, ebp
mov ebp, dword [esp + 0x54]
add ecx, edx
xor edx, edx
imul ecx, dword [esi + 8]
add eax, ecx
mov ecx, dword [esp + 0x58]
mov dx, word [ecx + edi*2]
xor ecx, ecx
mov cx, word [edi + ebp]
mov ebp, ecx
mov ecx, dword [esp + 0x3c]
add ecx, edx
mov edx, dword [esp + 0x14]
add ebp, ecx
mov ecx, dword [esp + 0x20]
add ebp, ecx
imul ebp, dword [esi + 0x1c]
add eax, ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
xor eax, eax
mov ax, word [ebx + edx*2]
mov ecx, eax
xor eax, eax
mov ax, word [ebp + edx*2]
mov ebp, eax
mov eax, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [esi + 0x30]
imul ecx, dword [esp + 0x34]
add ebp, eax
mov eax, dword [esp + 0x2c]
add ebp, eax
mov eax, dword [esp + 0x3c]
imul ebp, dword [esi]
add eax, ebp
mov ebp, dword [esp + 0x1c]
add eax, ecx
jmp 0x4fb476
mov edx, dword [esp + 0x58]
mov ax, word [edi + edx]
mov edx, dword [esi + 0x50]
and eax, 0xffff
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x54]
add eax, edx
xor edx, edx
mov dx, word [ebx]
imul eax, edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x14]
add edx, eax
xor eax, eax
mov ax, word [ecx]
mov ecx, dword [esi + 0x40]
imul edx, eax
mov eax, dword [esp + 0x20]
add eax, edx
mov edx, dword [esi + 0x3c]
add ecx, edx
xor edx, edx
mov dx, word [ebp]
imul ecx, edx
mov edx, dword [esp + 0x58]
add eax, ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c]
add eax, ecx
xor ecx, ecx
mov cx, word [edx]
xor edx, edx
imul eax, ecx
mov ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x14]
mov dx, word [ebx + eax*2]
imul edx, dword [esi + 0x60]
add ecx, edx
xor edx, edx
mov dx, word [ebp + eax*2]
imul edx, dword [esi + 0x4c]
add ecx, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov cx, word [edx + eax*2]
mov edx, dword [esp + 0x20]
imul ecx, dword [esi + 0x38]
add edx, ecx
xor ecx, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x54]
mov cx, word [edx + eax*2]
mov edx, dword [esp + 0x20]
imul ecx, dword [esi + 0x24]
add edx, ecx
xor ecx, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x50]
mov cx, word [edx + eax*2]
mov eax, dword [esp + 0x20]
imul ecx, dword [esi + 0x10]
add eax, ecx
xor ecx, ecx
mov cx, word [ebx + edi*2]
xor edx, edx
imul ecx, dword [esi + 0x5c]
mov dx, word [ebp + edi*2]
add eax, ecx
imul edx, dword [esi + 0x48]
xor ecx, ecx
add eax, edx
mov cx, word [edi + ebx]
xor edx, edx
imul ecx, dword [esi + 0x58]
mov dx, word [edi + ebp]
add eax, ecx
imul edx, dword [esi + 0x44]
add eax, edx
mov edx, dword [esp + 0x58]
xor ecx, ecx
mov cx, word [edx + edi*2]
mov edx, dword [esp + 0x54]
imul ecx, dword [esi + 0x34]
add eax, ecx
xor ecx, ecx
mov cx, word [edx + edi*2]
mov edx, dword [esp + 0x50]
imul ecx, dword [esi + 0x20]
add eax, ecx
xor ecx, ecx
mov cx, word [edx + edi*2]
mov edx, dword [esp + 0x54]
imul ecx, dword [esi + 0xc]
add eax, ecx
xor ecx, ecx
mov cx, word [edi + edx]
xor edx, edx
imul ecx, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x50]
mov dx, word [edi + ecx]
imul edx, dword [esi + 8]
add eax, edx
mov edx, dword [esi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
add edx, eax
xor eax, eax
mov ax, word [ecx]
mov ecx, dword [esi + 0x30]
imul ecx, dword [esp + 0x34]
imul edx, eax
mov eax, dword [esp + 0x20]
add eax, edx
mov edx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4fb48d
mov ecx, dword [esp + 0x78]
sar eax, cl
add eax, dword [esp + 0x80]
jmp 0x4fb49f
cdq
idiv dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
add eax, ecx
cmp eax, 0xffff
jle 0x4fb4ad
mov eax, 0xffff
jmp 0x4fb4b3
test eax, eax
jge 0x4fb4b3
xor eax, eax
mov ecx, dword [esp + 0x84]
cmp ecx, 0x100
jne 0x4fb4cb
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
jmp 0x4fb4f3
sub eax, dword [esp + 0x34]
imul eax, ecx
cdq
mov ecx, dword [esp + 0x18]
and edx, 0xff
add edx, eax
mov eax, dword [esp + 0x58]
sar edx, 8
mov ax, word [edi + eax]
add edx, eax
mov word [ecx], dx
mov edx, dword [esp + 0x14]
add dword [esp + 0x18], edi
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
cmp ecx, eax
jge 0x4fb8c1
sub eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x3c], eax
jmp 0x4fb521
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4fb69f
xor eax, eax
mov ax, word [ebx + edi*2]
mov dword [esp + 0x2c], eax
xor eax, eax
mov ax, word [ebx + edx*2]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [ecx + edx*2]
xor edx, edx
mov ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov dx, word [ebp + ecx*2]
add eax, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [edx + ecx*2]
mov ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
xor ecx, ecx
mov cx, word [ebp]
add eax, ecx
xor ecx, ecx
mov cx, word [edx]
xor edx, edx
add eax, ecx
mov ecx, dword [esp + 0x48]
mov dx, word [edi + ecx]
mov ecx, dword [esp + 0x14]
add eax, edx
xor edx, edx
mov dx, word [edi + ebx]
add eax, edx
xor edx, edx
imul eax, dword [esi + 4]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [ebp + ecx*2]
mov ebp, dword [esp + 0x10]
mov dx, word [ebp + ecx*2]
mov ebp, dword [esp + 0x1c]
add eax, edx
xor edx, edx
mov dx, word [edi + ebp]
xor ebp, ebp
add eax, edx
mov edx, dword [esp + 0x10]
mov bp, word [edi + edx]
add eax, ebp
mov ebp, dword [esp + 0x50]
imul eax, dword [esi + 0x18]
add ebp, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], ebp
xor ebp, ebp
mov bp, word [eax + ecx*2]
xor ecx, ecx
mov cx, word [edx + edi*2]
mov edx, dword [esp + 0x2c]
add ecx, edx
xor edx, edx
mov dx, word [edi + eax]
add ecx, ebp
add edx, ecx
mov eax, dword [esp + 0x50]
imul edx, dword [esi + 0x1c]
add eax, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [ebx + edx*2]
xor ebp, ebp
mov ecx, eax
mov eax, dword [esp + 0x48]
mov bp, word [eax + edx*2]
add ecx, ebp
xor ebp, ebp
mov bp, word [ebx]
add ecx, ebp
xor ebp, ebp
mov bp, word [eax]
add ecx, ebp
mov ebp, dword [esp + 0x50]
imul ecx, dword [esi]
add ebp, ecx
xor ecx, ecx
mov cx, word [eax + edi*2]
mov dword [esp + 0x50], ebp
mov eax, ecx
mov ecx, dword [esp + 0x6c]
xor ebp, ebp
mov bp, word [ecx + edx*2]
mov edx, dword [esp + 0x2c]
add ebp, edx
xor edx, edx
mov dx, word [ecx]
add ebp, eax
add edx, ebp
mov eax, dword [esp + 0x50]
imul edx, dword [esi + 8]
add eax, edx
xor edx, edx
mov dx, word [ecx + edi*2]
add ecx, edi
imul edx, dword [esi + 0x30]
add eax, edx
mov edx, dword [esp + 0x48]
add edx, edi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x10]
add edx, edi
add ebx, edi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
lea ebp, [edi + edx]
mov dword [esp + 0x1c], ebp
jmp 0x4fb83c
xor eax, eax
mov ax, word [ecx]
add ecx, edi
imul eax, dword [esi]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [ecx + edx*2]
xor edx, edx
mov dx, word [ecx + edi*2]
imul eax, dword [esi + 0x10]
imul edx, dword [esi + 0xc]
add eax, edx
xor edx, edx
mov dx, word [edi + ecx]
mov dword [esp + 0x48], ecx
imul edx, dword [esi + 8]
add eax, edx
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [edx]
mov edx, dword [esi + 0x14]
imul edx, ecx
add eax, edx
mov edx, dword [esp + 0x48]
xor ecx, ecx
mov cx, word [edx]
mov edx, dword [esi + 4]
imul edx, ecx
mov ecx, dword [esp + 0x50]
add edx, ecx
xor ecx, ecx
add edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x14]
add eax, edi
mov dword [esp + 0x10], eax
mov cx, word [eax + edx*2]
xor edx, edx
mov dx, word [eax + edi*2]
imul ecx, dword [esi + 0x24]
imul edx, dword [esi + 0x20]
add ecx, edx
xor edx, edx
mov dx, word [edi + eax]
imul edx, dword [esi + 0x1c]
add ecx, edx
xor edx, edx
mov dx, word [eax]
mov eax, dword [esi + 0x18]
imul eax, edx
add ecx, eax
mov eax, dword [esp + 0x6c]
xor edx, edx
mov dx, word [eax]
mov eax, dword [esi + 0x28]
imul eax, edx
mov edx, dword [esp + 0x50]
add eax, edx
mov edx, dword [esp + 0x14]
add eax, ecx
xor ecx, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x6c]
add eax, edi
mov dword [esp + 0x6c], eax
mov cx, word [eax + edx*2]
xor edx, edx
mov dx, word [eax + edi*2]
imul ecx, dword [esi + 0x38]
imul edx, dword [esi + 0x34]
add ecx, edx
xor edx, edx
mov dx, word [edi + eax]
xor eax, eax
imul edx, dword [esi + 0x30]
mov ax, word [ebp]
add ecx, edx
mov edx, dword [esi + 0x3c]
imul edx, eax
add ecx, edx
mov edx, dword [esp + 0x6c]
xor eax, eax
add ebp, edi
mov ax, word [edx]
mov edx, dword [esi + 0x2c]
imul edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], ebp
add edx, eax
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], edx
xor edx, edx
mov ax, word [ebp + ecx*2]
mov dx, word [ebp + edi*2]
imul eax, dword [esi + 0x4c]
imul edx, dword [esi + 0x48]
xor ecx, ecx
add eax, edx
mov cx, word [edi + ebp]
xor edx, edx
imul ecx, dword [esi + 0x44]
mov dx, word [ebx]
add eax, ecx
mov ecx, dword [esi + 0x50]
add ebx, edi
imul ecx, edx
xor edx, edx
add eax, ecx
mov dx, word [ebp]
mov ecx, dword [esi + 0x40]
imul ecx, edx
mov edx, dword [esp + 0x50]
add ecx, edx
xor edx, edx
add ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov dx, word [ebx + eax*2]
mov cx, word [ebx + edi*2]
imul edx, dword [esi + 0x60]
imul ecx, dword [esi + 0x5c]
xor eax, eax
add edx, ecx
mov ax, word [edi + ebx]
xor ecx, ecx
imul eax, dword [esi + 0x58]
mov cx, word [ebx]
add edx, eax
mov eax, dword [esi + 0x54]
imul eax, ecx
add eax, dword [esp + 0x50]
add eax, edx
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4fb84c
mov ecx, dword [esp + 0x78]
sar eax, cl
jmp 0x4fb851
cdq
idiv dword [esp + 0x7c]
add eax, dword [esp + 0x80]
cmp eax, 0xffff
jle 0x4fb866
mov eax, 0xffff
jmp 0x4fb86c
test eax, eax
jge 0x4fb86c
xor eax, eax
cmp dword [esp + 0x84], 0x100
je 0x4fb8a1
mov edx, dword [esp + 0x6c]
mov cx, word [edi + edx]
mov edx, ecx
and edx, 0xffff
sub eax, edx
imul eax, dword [esp + 0x84]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add eax, ecx
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
mov eax, dword [esp + 0x3c]
add ecx, edi
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], eax
jne 0x4fb519
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4fbcc0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4fba2f
xor eax, eax
mov ecx, dword [esp + 0x10]
mov ax, word [ebx + edx*2]
mov dword [esp + 0x28], eax
xor eax, eax
mov ax, word [ebp + edx*2]
mov dword [esp + 0x30], eax
xor eax, eax
mov ax, word [ecx + edx*2]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x34], eax
xor eax, eax
mov ax, word [ecx + edx*2]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
xor eax, eax
mov ax, word [ecx + edx*2]
xor edx, edx
mov dx, word [ebx + edi*2]
add eax, edx
xor edx, edx
mov dword [esp + 0x3c], eax
xor eax, eax
mov ax, word [ebp]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dx, word [eax]
mov eax, dword [esp + 0x48]
add ecx, edx
xor edx, edx
mov dx, word [edi + eax]
mov eax, dword [esp + 0x2c]
add edx, eax
xor eax, eax
mov ax, word [edi + ebx]
add edx, ecx
mov ecx, dword [esp + 0x34]
add eax, edx
mov edx, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x30]
add eax, ecx
xor ecx, ecx
add eax, edx
mov edx, dword [esp + 0x10]
imul eax, dword [esi + 4]
mov cx, word [edx + edi*2]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [edi + edx]
mov edx, dword [esp + 0x3c]
add edx, ecx
mov ecx, dword [esp + 0x50]
add eax, edx
imul eax, dword [esi + 0x1c]
add ecx, eax
xor eax, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x48]
mov ax, word [ecx + edi*2]
mov ecx, dword [esp + 0x6c]
mov edx, eax
xor eax, eax
mov ax, word [ecx]
mov ecx, eax
mov eax, dword [esp + 0x3c]
add eax, edx
xor edx, edx
add ecx, eax
mov eax, dword [esp + 0x50]
imul ecx, dword [esi + 8]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dx, word [edi + ebp]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [edi + ecx]
mov ecx, eax
mov eax, dword [esp + 0x34]
add eax, edx
add ecx, eax
mov eax, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x50]
imul ecx, dword [esi + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x6c]
xor edx, edx
mov dx, word [ecx + edi*2]
mov ecx, dword [esp + 0x48]
imul edx, dword [esi + 0x30]
add eax, edx
xor edx, edx
mov dx, word [ebx]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [ecx]
mov ecx, eax
mov eax, dword [esp + 0x2c]
add eax, edx
mov edx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x50]
imul ecx, dword [esi]
add eax, ecx
jmp 0x4fbc10
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x5c]
add eax, ecx
xor ecx, ecx
mov cx, word [ebx + edx*2]
imul eax, ecx
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x4c]
add eax, ecx
xor ecx, ecx
mov cx, word [ebp + edx*2]
mov ebp, dword [esi + 0x34]
imul eax, ecx
mov ecx, dword [esp + 0x50]
add ecx, eax
mov eax, dword [esi + 0x38]
add eax, ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov cx, word [ebp + edx*2]
mov ebp, dword [esi + 0x20]
imul eax, ecx
mov ecx, dword [esp + 0x50]
add ecx, eax
mov eax, dword [esi + 0x24]
add eax, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov cx, word [ebp + edx*2]
mov ebp, dword [esp + 0x48]
imul eax, ecx
mov ecx, dword [esp + 0x50]
add ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x10]
add ecx, eax
xor eax, eax
mov ax, word [ebp + edx*2]
mov ebp, dword [esp + 0x1c]
imul ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
xor ecx, ecx
mov cx, word [ebx + edi*2]
imul ecx, dword [esi + 0x58]
add eax, ecx
xor ecx, ecx
mov cx, word [ebp + edi*2]
imul ecx, dword [esi + 0x44]
add eax, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [ecx + edi*2]
mov ecx, dword [esp + 0x50]
imul eax, dword [esi + 0x30]
add ecx, eax
xor eax, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x10]
mov ax, word [ecx + edi*2]
mov ecx, dword [esp + 0x50]
imul eax, dword [esi + 0x1c]
add ecx, eax
xor eax, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x48]
mov ax, word [ecx + edi*2]
mov ecx, dword [esp + 0x50]
imul eax, dword [esi + 8]
add ecx, eax
xor eax, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x10]
mov ax, word [ecx]
mov ecx, dword [esi + 0x14]
imul ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [ebx]
imul ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [edi + ecx]
mov ecx, dword [esi + 4]
imul ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [ebp]
imul ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [edi + ebx]
imul ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [edi + ebp]
imul ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [edi + ecx]
mov ecx, dword [esi + 0x2c]
imul ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [ecx]
mov ecx, dword [esi + 0x28]
imul ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [edi + ecx]
mov ecx, dword [esi + 0x18]
imul ecx, eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x50], eax
xor eax, eax
mov ax, word [ecx]
mov ecx, eax
mov eax, dword [esp + 0x50]
imul ecx, dword [esi]
add eax, ecx
mov ecx, dword [esp + 0x48]
add ebp, edi
add ecx, edi
add ebx, edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
add ecx, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
add ecx, edi
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4fbc4d
mov ecx, dword [esp + 0x78]
sar eax, cl
add eax, dword [esp + 0x80]
jmp 0x4fbc5f
cdq
idiv dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
add eax, ecx
cmp eax, 0xffff
jle 0x4fbc6d
mov eax, 0xffff
jmp 0x4fbc73
test eax, eax
jge 0x4fbc73
xor eax, eax
cmp dword [esp + 0x84], 0x100
jne 0x4fbc89
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
jmp 0x4fbcbc
mov edx, dword [esp + 0x6c]
mov cx, word [edi + edx]
mov edx, ecx
and edx, 0xffff
sub eax, edx
imul eax, dword [esp + 0x84]
cdq
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 8
add eax, ecx
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
add dword [esp + 0x18], edi
cmp dword [esp + 0x88], 2
jne 0x4fbf9e
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4fbdf5
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [ebp + edi*2]
xor eax, eax
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov cx, word [edx + edi*2]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x50], ecx
mov ax, word [ebx + edi*2]
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov cx, word [edx + edi*2]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov cx, word [edx + edi*2]
mov dword [esp + 0x20], ecx
add ecx, eax
mov ax, word [edi + edx]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x48]
and eax, 0xffff
mov dword [esp + 0x34], eax
xor eax, eax
mov ax, word [edi + ebx]
mov edx, eax
xor eax, eax
mov ax, word [edi + ecx]
mov ecx, dword [esp + 0x10]
add edx, eax
xor eax, eax
mov ax, word [ebp]
mov ebp, eax
mov eax, dword [esp + 0x30]
add ebp, eax
xor eax, eax
mov ax, word [ecx]
add ebp, edx
mov edx, dword [esp + 0x50]
add eax, ebp
mov ebp, dword [esp + 0x2c]
add eax, ebp
mov ebp, dword [esp + 0x3c]
add eax, edx
xor edx, edx
add eax, ebp
mov ebp, dword [esp + 0x1c]
imul eax, dword [esi + 4]
mov dx, word [edi + ebp]
xor ebp, ebp
mov bp, word [edi + ecx]
mov ecx, dword [esp + 0x50]
add ecx, edx
mov edx, dword [esp + 0x3c]
add ebp, ecx
mov ecx, dword [esp + 0x6c]
add ebp, edx
xor edx, edx
imul ebp, dword [esi + 0x18]
mov dx, word [ecx]
mov ecx, dword [esp + 0x30]
add eax, ebp
mov ebp, dword [esp + 0x28]
add edx, ecx
add edx, ebp
mov ebp, dword [esp + 0x34]
imul edx, dword [esi + 8]
add eax, edx
mov edx, dword [esp + 0x50]
add ebp, edx
mov edx, dword [esp + 0x28]
add ebp, edx
xor edx, edx
imul ebp, dword [esi + 0x1c]
mov dx, word [ebx]
add eax, ebp
mov ebp, dword [esp + 0x48]
xor ebx, ebx
mov bx, word [ebp]
add ecx, edx
add ebx, ecx
mov ecx, dword [esp + 0x2c]
add ebx, ecx
mov ecx, dword [esi + 0x30]
imul ebx, dword [esi]
add eax, ebx
imul ecx, dword [esp + 0x20]
jmp 0x4fbf30
mov edx, dword [esp + 0x6c]
mov ecx, dword [esi + 0x5c]
mov ax, word [edi + edx]
mov edx, dword [esi + 0x58]
mov dword [esp + 0x24], eax
and eax, 0xffff
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x60]
add eax, ecx
xor ecx, ecx
mov cx, word [ebx + edi*2]
add eax, edx
mov edx, dword [esi + 0x4c]
imul eax, ecx
mov ecx, dword [esi + 0x48]
add edx, ecx
mov ecx, dword [esi + 0x44]
add edx, ecx
xor ecx, ecx
mov cx, word [ebp + edi*2]
imul edx, ecx
mov ecx, dword [esi + 0x34]
add eax, edx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x30]
add edx, ecx
mov ecx, dword [esp + 0x6c]
add edx, eax
xor eax, eax
mov ax, word [ecx + edi*2]
mov ecx, dword [esp + 0x50]
imul edx, eax
mov eax, dword [esi + 0x20]
add ecx, edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x1c]
add edx, eax
add edx, ecx
mov ecx, dword [esp + 0x10]
xor eax, eax
mov ax, word [ecx + edi*2]
mov ecx, dword [esi + 0xc]
imul edx, eax
mov eax, dword [esp + 0x50]
add eax, edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 8]
add edx, ecx
mov ecx, dword [esp + 0x48]
add edx, eax
xor eax, eax
mov ax, word [ecx + edi*2]
xor ecx, ecx
imul edx, eax
mov eax, dword [esp + 0x50]
mov cx, word [edi + ebp]
imul ecx, dword [esi + 0x40]
add eax, edx
xor edx, edx
mov dx, word [edi + ebx]
imul edx, dword [esi + 0x54]
add eax, edx
xor edx, edx
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dx, word [edi + ecx]
mov ecx, dword [esp + 0x48]
imul edx, dword [esi + 0x18]
add eax, edx
xor edx, edx
mov dx, word [edi + ecx]
mov ecx, dword [esp + 0x10]
imul edx, dword [esi + 4]
add eax, edx
xor edx, edx
mov dx, word [ecx]
mov ecx, dword [esi + 0x14]
imul ecx, edx
xor edx, edx
add eax, ecx
mov dx, word [ebx]
mov ecx, dword [esi + 0x50]
imul ecx, edx
xor edx, edx
add eax, ecx
mov dx, word [ebp]
mov ecx, dword [esi + 0x3c]
imul ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x6c]
xor edx, edx
mov dx, word [ecx]
mov ecx, dword [esi + 0x28]
imul ecx, edx
mov edx, dword [esi + 0x2c]
add eax, ecx
imul edx, dword [esp + 0x34]
add eax, edx
mov edx, dword [esp + 0x48]
xor ecx, ecx
mov cx, word [edx]
imul ecx, dword [esi]
add eax, ecx
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4fbf42
mov ecx, dword [esp + 0x78]
sar eax, cl
jmp 0x4fbf47
cdq
idiv dword [esp + 0x7c]
add eax, dword [esp + 0x80]
cmp eax, 0xffff
jle 0x4fbf5c
mov eax, 0xffff
jmp 0x4fbf62
test eax, eax
jge 0x4fbf62
xor eax, eax
mov ecx, dword [esp + 0x84]
cmp ecx, 0x100
jne 0x4fbf7a
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
jmp 0x4fbf9a
sub eax, dword [esp + 0x34]
imul eax, ecx
mov ecx, dword [esp + 0x24]
cdq
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 8
add eax, ecx
mov word [edx], ax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x90]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jle 0x4fae37
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x34
ret